Re: [PATCH 3/5] mm: vmscan: respect NUMA policy mask when shrinkingslab on direct reclaim

From: Andrew Morton
Date: Mon Jan 13 2014 - 18:11:40 EST


On Sat, 11 Jan 2014 16:36:33 +0400 Vladimir Davydov <vdavydov@xxxxxxxxxxxxx> wrote:

> When direct reclaim is executed by a process bound to a set of NUMA
> nodes, we should scan only those nodes when possible, but currently we
> will scan kmem from all online nodes even if the kmem shrinker is NUMA
> aware. That said, binding a process to a particular NUMA node won't
> prevent it from shrinking inode/dentry caches from other nodes, which is
> not good. Fix this.

Seems right. I worry that reducing the amount of shrinking which
node-bound processes perform might affect workloads in unexpected ways.

I think I'll save this one for 3.15-rc1, OK?
--
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/