Re: [PATCH] mm: inactive-clean list
From: KAMEZAWA Hiroyuki
Date: Tue Jul 18 2006 - 11:58:21 EST
On Tue, 18 Jul 2006 07:45:21 -0700 (PDT)
Christoph Lameter <clameter@xxxxxxx> wrote:
> On Tue, 18 Jul 2006, Andrew Morton wrote:
> > Christoph Lameter <clameter@xxxxxxx> wrote:
> > > What other types of non freeable pages could exist?
> > PageWriteback() pages (potentially all of memory)
> Doesnt write throttling take care of that?
> > Pinned pages (various transient conditions, mainly get_user_pages())
> > Some pages whose buffers are attached to an ext3 journal.
> These are just pinned by an increased refcount right?
> > Possibly NFS unstable pages.
> These are tracked by NR_NFS_UNSTABLE.
> Maybe we need a NR_UNSTABLE that includes pinned pages?
I'm not sure what was discussed in VM summit. If I miss the point, sorry.
I think the important thing here is the amount of free pages we try to keep.
Remaining unused pages as page cache(and not free them) may help performance if lucky
but increases uncertainity.
Now, enlarging min_free_kbytes or mempool is useful to avoid page allocation failure
in device drivers, which does write-back of dirty pages.
I think controlling free memory itself is better than controlling *used* inactive clean
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/