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.