[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20070517144450.ca1a6625.pj@sgi.com>
Date: Thu, 17 May 2007 14:44:50 -0700
From: Paul Jackson <pj@....com>
To: Peter Zijlstra <a.p.zijlstra@...llo.nl>
Cc: clameter@....com, mpm@...enic.com, linux-kernel@...r.kernel.org,
linux-mm@...ck.org, tgraf@...g.ch, davem@...emloft.net,
akpm@...ux-foundation.org, phillips@...gle.com,
penberg@...helsinki.fi
Subject: Re: [PATCH 0/5] make slab gfp fair
> The way I read the cpuset page allocator, it will only respect the
> cpuset if there is memory aplenty. Otherwise it will grab whatever. So
> still, it will only ever use ALLOC_NO_WATERMARKS if the whole system is
> in distress.
Wrong. Well, only a little right.
For allocations that can't fail (the kernel could die if it failed)
then yes, the kernel will eventually take any damn page it can find,
regardless of cpusets.
Allocations for user space are hardwall enforced to be in the current
tasks cpuset.
Allocations off interrupts ignore the current tasks cpuset (such allocations
don't have a valid current contect.)
Allocations for most kernel space allocations will try to fit in the
current tasks cpuset, but may come from the possibly larger context of
the closest ancestor cpuset that is marked memory_exclusive.
--
I won't rest till it's the best ...
Programmer, Linux Scalability
Paul Jackson <pj@....com> 1.925.600.0401
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists