[lkml]   [2009]   [Mar]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: Regression - locking (all from 2.6.28)
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.

 \ /
  Last update: 2009-03-05 19:33    [W:0.067 / U:4.524 seconds]
©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site