pte_alloc_kernel parameters

From: Jan Beulich
Date: Thu Dec 15 2005 - 09:52:14 EST


Is there any particular reason why pte_alloc_kernel() has to have
'struct mm_struct*' as its first parameter? Except for a case in parisc
(where NULL gets passed) and another (ill-looking one) in arm26 it is
always &init_mm, and since the function is not inline the compiler can't
eliminate the needless passing of the argument.

Thanks, Jan
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/