lkml.org 
[lkml]   [2009]   [Apr]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: [PATCH 5/5] proc: export more page flags in /proc/kpageflags
    From
    Date
    On Tue, 2009-04-28 at 13:47 -0700, Tony Luck wrote:
    > On Tue, Apr 28, 2009 at 11:34 AM, Matt Mackall <mpm@selenic.com> wrote:
    > > Bah. The rate of change is proportional to #cpus, not #pages. Assuming
    > > you've got 1024 processors, you could run the scan in parallel in .2
    > > seconds still.
    >
    > That would help ... it would also make the patch to support this
    > functionality a lot more complex.

    The kernel bits should handle this already today. You just need 1k
    userspace threads to open /proc/kpageflags, seek() appropriately, and
    read().

    --
    http://selenic.com : development and support for Mercurial and Linux




    \
     
     \ /
      Last update: 2009-04-28 23:05    [W:4.475 / U:0.068 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site