lkml.org 
[lkml]   [2006]   [Feb]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    SubjectRe: [PATCH] Dynamically allocated pageflags
    Date
    Hi.

    On Thursday 02 February 2006 23:31, Andi Kleen wrote:
    > On Thursday 02 February 2006 12:11, Nigel Cunningham wrote:
    > > Hi everyone.
    > >
    > > This is my latest revision of the dynamically allocated pageflags patch.
    > >
    > > The patch is useful for kernel space applications that sometimes need to flag
    > > pages for some purpose, but don't otherwise need the retain the state. A prime
    > > example is suspend-to-disk, which needs to flag pages as unsaveable, allocated
    > > by suspend-to-disk and the like while it is working, but doesn't need to
    > > retain any of this state between cycles.
    >
    > It looks like total overkill for a simple problem to me. And is there really
    > any other user of this other than swsusp?

    Sorry for the slow response. I switched email clients and gained a bogus
    filter along the way (entirely my fault, of course).

    As Dave said, he might make use of them too. I use about 5 or 6 of these,
    depending upon exactly how Suspend2 is configured.

    In the meanwhile, AKPM gave me a suggestion for a better solution
    (radix-trees). My algorithms & data-structures course was 14 years ago,
    so I'll go dust off Kingston (IIRC) and learn what he's talking about again :)

    Thanks for the feedback and regards,

    Nigel
    [unhandled content-type:application/pgp-signature]
    \
     
     \ /
      Last update: 2006-02-09 00:49    [W:0.033 / U:0.052 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site