Nick Piggin wrote: > 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. Err... attached.