lkml.org 
[lkml]   [2004]   [Jun]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [oom]: [1/4] add __GFP_WIRED to pinned allocations
    William Lee Irwin III <wli@holomorphy.com> 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
    SLAB_RECLAIM_ACCOUNT for that.

    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 majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

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