linux-arch.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [GIT PATCH core/percpu] x86,percpu: generalize 4k and lpage allocator
@ 2009-06-17  4:04 Tejun Heo
  2009-06-17  4:04 ` Tejun Heo
                   ` (6 more replies)
  0 siblings, 7 replies; 10+ messages in thread
From: Tejun Heo @ 2009-06-17  4:04 UTC (permalink / raw)
  To: linux-kernel, x86, linux-arch, mingo, andi, hpa, tglx


Hello,

Upon ack, please pull from the following git tree.

  git://git.kernel.org/pub/scm/linux/kernel/git/tj/misc.git tj-percpu-make-allocators-generic

This patchset generalizes 4k and lpage first chunk allocators and
makes x86 call these generic helpers.  This will help converting other
architectures to dynamic percpu and be the basis for further first
chunk allocator improvements by standardizing how the first chunk is
allocated.

This patchset contains the following six patches.

 0001-x86-make-pcpu_chunk_addr_search-matching-stricter.patch
 0002-percpu-drop-unit_size-from-embed-first-chunk-alloc.patch
 0003-x86-percpu-generalize-4k-first-chunk-allocator.patch
 0004-percpu-make-4k-first-chunk-allocator-map-memory.patch
 0005-x86-percpu-generalize-lpage-first-chunk-allocator.patch
 0006-percpu-simplify-pcpu_setup_first_chunk.patch

0001 and 0002 are cleanups which don't make any functional difference.

0003-0004 generalizes 4k allocator and makes its behavior more uniform
with other allocators.  0005 generalizes lpage allocator.

As 0004 makes generic alloc/map handling in pcpu_setup_first_chunk()
unnecessary, 0006 drops it.  This simplification will allow dropping
pcpu_chunk->page[] by later patchset.

This patchset is on top of

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

and contains the following changes.

 arch/x86/include/asm/percpu.h  |    9 
 arch/x86/kernel/setup_percpu.c |  247 ++--------------------
 arch/x86/mm/pageattr.c         |    1 
 include/linux/percpu.h         |   44 +++
 mm/percpu.c                    |  455 ++++++++++++++++++++++++++++++++---------
 5 files changed, 433 insertions(+), 323 deletions(-)

Thanks.

--
tejun

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

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2009-06-17  4:07 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-06-17  4:04 [GIT PATCH core/percpu] x86,percpu: generalize 4k and lpage allocator Tejun Heo
2009-06-17  4:04 ` Tejun Heo
2009-06-17  4:04 ` [PATCH 1/6] x86: make pcpu_chunk_addr_search() matching stricter Tejun Heo
2009-06-17  4:04   ` Tejun Heo
2009-06-17  4:04 ` [PATCH 2/6] percpu: drop @unit_size from embed first chunk allocator Tejun Heo
2009-06-17  4:04 ` [PATCH 3/6] x86,percpu: generalize 4k " Tejun Heo
2009-06-17  4:04 ` [PATCH 4/6] percpu: make 4k first chunk allocator map memory Tejun Heo
2009-06-17  4:04 ` [PATCH 5/6] x86,percpu: generalize lpage first chunk allocator Tejun Heo
2009-06-17  4:04 ` [PATCH 6/6] percpu: simplify pcpu_setup_first_chunk() Tejun Heo
2009-06-17  4:04   ` Tejun Heo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).