From: Tejun Heo Date: Mon, 22 Jun 2009 02:56:24 +0000 (+0900) Subject: x86: ensure percpu lpage doesn't consume too much vmalloc space X-Git-Tag: v2.6.31-rc2~76^2~8^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0017c869ddcb73069905d09f9e98e68627466237;p=pandora-kernel.git x86: ensure percpu lpage doesn't consume too much vmalloc space On extreme configuration (e.g. 32bit 32-way NUMA machine), lpage percpu first chunk allocator can consume too much of vmalloc space. Make it fall back to 4k allocator if the consumption goes over 20%. [ Impact: add sanity check for lpage percpu first chunk allocator ] Signed-off-by: Tejun Heo Reported-by: Jan Beulich Cc: Andi Kleen Cc: Ingo Molnar --- Reading git-diff-tree failed