Re: [RFC][PATCH] proc: export more page flags in /proc/kpageflags (take 3)

From: Andi Kleen
Date: Thu Apr 23 2009 - 04:50:51 EST


> Good idea.
>
> Would you recommend a good way to identify huge pages?
> Test by page order, or by (dtor == free_huge_page)?

That doesn't work for GB pages. The best way would be to make
slub stop using it and then check for compound, but I don't know what
this implies. Otherwise would need some other way, perhaps a new
flag?

-Andi

--
ak@xxxxxxxxxxxxxxx -- Speaking for myself only.
--
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/