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
Attachment:
pgpyFAM1m4i0J.pgp
Description: PGP signature
- References:
- [PATCH] Dynamically allocated pageflags
- From: Nigel Cunningham <[email protected]>
- Re: [PATCH] Dynamically allocated pageflags
- From: Andi Kleen <[email protected]>
- [PATCH] Dynamically allocated pageflags
- Prev by Date: Re: Terminate process that fails on a constrained allocation
- Next by Date: Re: [PATCH 7/8] don't mangle INQUIRY if cmddt or evpd bits are set
- Previous by thread: Re: [PATCH] Dynamically allocated pageflags
- Next by thread: Re: [PATCH] Dynamically allocated pageflags
- Index(es):