[lkml]   [2004]   [Jun]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [oom]: [1/4] add __GFP_WIRED to pinned allocations
William Lee Irwin III <> wrote:
> +#define __GFP_WIRED 0x8000 /* pinned */

This would be a nice thing to keep track of.

Isn't it the case that reclaimable slab pages (dentry, inode, mbcache,
dquot) should not be accounted as wired memory? Could perhaps use

It would need to be overridden for, say, sysfs inodes and dentries, but
they're about to become reclaimable anyway so no prob.

It would need to be overridden for, say, ramfs dentries and inodes though.

rd.c's blockdev pagecache pages are wired.
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 14:04    [from the cache]
©2003-2014 Jasper Spaans. hosted at Digital Ocean