|
|
Log in / Subscribe / Register

x86,percpu: fix pageattr handling with remap allocator, take#4

From:  Tejun Heo <tj@kernel.org>
To:  linux-kernel@vger.kernel.org, x86@kernel.org, linux-arch@vger.kernel.org, mingo@elte.hu, JBeulich@novell.com, andi@firstfloor.org, hpa@zytor.com, tglx@linutronix.de
Subject:  [GIT PATCH core/percpu] x86,percpu: fix pageattr handling with remap allocator, take#4
Date:  Wed, 17 Jun 2009 12:52:12 +0900
Message-ID:  <1245210739-25699-1-git-send-email-tj@kernel.org>
Archive‑link:  Article

Hello,

Upon ack, please pull from the following git tree.

  git://git.kernel.org/pub/scm/linux/kernel/git/tj/misc.git tj-percpu-fix-remap

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

* Rebased on top of linus#master + tj-percpu-convert-most-archs, take#3

* Dup free in setup_pcpu_remap() fixed.

* remap allocator renamed to lpage.

* Changes to cpa_process_alias() updated such that the remap handling
  code doesn't consider multipage case and trigger WARN_ON() if @cpa
  at that point has numpages higher than 1.  Because the target PMD
  page is always partially recycled, it always ends up splitted to 4k
  pages and thus numpages is guaranteed to be 1 at that point.

This patchset contains the following seven patches.

 0001-x86-fix-duplicate-free-in-setup_pcpu_remap-failur.patch
 0002-x86-rename-remap-percpu-first-chunk-allocator-to-lp.patch
 0003-x86-prepare-setup_pcpu_lpage-for-pageattr-fix.patch
 0004-x86-reorganize-cpa_process_alias.patch
 0005-x86-fix-pageattr-handling-for-lpage-percpu-allocato.patch
 0006-x86-implement-percpu_alloc-kernel-parameter.patch
 0007-x86-ensure-percpu-lpage-doesn-t-consume-too-much-vm.patch

0001 and 0002 are new ones.  0005 has the cpa_process_alias() change
updated describd above.  Other than that, no notable changes.

This patchset is on top of

linus-2.6#master (300df7dc89cc276377fc020704e34875d5c473b6)
+ [1] tj-percpu-convert-most-archs, take#3

and contains the following changes.

 Documentation/kernel-parameters.txt |    6 
 arch/x86/include/asm/percpu.h       |    9 +
 arch/x86/kernel/setup_percpu.c      |  219 ++++++++++++++++++++++++++----------
 arch/x86/mm/pageattr.c              |   65 ++++++----
 mm/percpu.c                         |   13 +-
 5 files changed, 226 insertions(+), 86 deletions(-)

Thanks.

--
tejun

[L] http://thread.gmane.org/gmane.linux.kernel/844298
[1] http://thread.gmane.org/gmane.linux.kernel.cross-arch/3818


Copyright © 2009, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds