lkml.org 
[lkml]   [2000]   [Dec]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: test13-pre5


On Fri, 29 Dec 2000, David S. Miller wrote:
>
> For my development testing, I'm running a _heavily_ hacked
> kernel. One of these hacks is to pull the wait_queue_head out of
> struct page; the waitq-heads are in a separate allocated area of
> memory, with a waitq-head pointer embedded in the page structure
> (allocated/initialised in free_area_init_core()). This gives a
> page structure of 60bytes, giving me one free double-word to play
> with (which I'm using as a pointer to a release function).
>
> Not something like those damn Solaris turnstiles, no please....

If you want to have a release function, please just use "page->mapping",
which gives you much more, including memory pressure indicators etc. Now
_that_ can be useful for doing things like slab caches.

Linus

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 12:52    [W:0.056 / U:18.944 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site