Re: [RFC] Making compound pages mandatory

From: Nick Piggin
Date: Tue Nov 16 2004 - 22:28:17 EST


Nick Piggin wrote:


Good idea. BTW, any reason why the following (very)micro optimisation
shouldn't go in?

It currently only picks up a couple of things under fs/, but might help
reduce other ifdefery around the place. For example mm.h: page_count and
get_page.


Like this, perhaps? It does actually introduce a change in the object
code. Namely hugetlb's put_page will now also be done inline for non
compound pages - maybe this change is unacceptable though, but it does
cut down the ifdefs.
-
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/