Re: Regression - locking (all from 2.6.28)

From: Peter Zijlstra
Date: Thu Mar 05 2009 - 13:29:51 EST


On Thu, 2009-03-05 at 18:04 +0000, Catalin Marinas wrote:
>
> BTW, is there a way to know whether the page is in use or on the free
> list? Is page_count(page) feasible?

page_count() == 0, means that the page is not used.
PageBuddy() means its on the freelist.

--
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/