[GIT PATCH 2.6.30-rc5] x86,percpu: fix pageattr handling with remap allocator, take#2

From: Tejun Heo
Date: Fri May 15 2009 - 00:30:47 EST


Hello,

Upon ack, please pull from the following git tree.

git://git.kernel.org/pub/scm/linux/kernel/git/tj/misc.git x86-percpu-pageattr

This is the second take of x86-percpu-fix-pageattr patchset. Changes
from the last take[L] are...

* 0002 and renamed as per Jan's comment.

* 0003 updated accordingly.

* 0004 updated so that selection logic is left in individual setup
functions. This way is easier to add more complex selection logic.

* 0005 added. This patch makes sure remap allocator doesn't consume
too much of vmalloc space. The cutoff is currently 20%.

This patchset contains the following five patches.

0001-x86-prepare-setup_pcpu_remap-for-pageattr-fix.patch
0002-x86-reorganize-cpa_process_alias.patch
0003-x86-fix-pageattr-handling-for-remap-percpu-allocato.patch
0004-x86-implement-percpu_alloc-kernel-parameter.patch
0005-x86-ensure-percpu-remap-doesn-t-consume-too-much-vm.patch

and is on top of the current linux-2.6#master (45d44740).

Ingo, 0001-0003 are bug fixes and although 0004-0005 aren't exactly
bug fixes, I think it would be better to include them in 2.6.30.

diffstat follows.

Documentation/kernel-parameters.txt | 6 +
arch/x86/include/asm/percpu.h | 9 +
arch/x86/kernel/setup_percpu.c | 199 +++++++++++++++++++++++++++---------
arch/x86/mm/pageattr.c | 63 +++++++----
mm/percpu.c | 13 +-
5 files changed, 218 insertions(+), 72 deletions(-)

Thanks.

--
tejun
--
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/