From: Mike Travis <travis@sgi.com>
To: Andrew Morton <akpm@linux-foundation.org>,
Ingo Molnar <mingo@elte.hu>, Thomas Gleixner <tglx@linutronix.de>,
Andi Kleen <ak@suse.de>
Cc: Christoph Lameter <clameter@sgi.com>,
Jack Steiner <steiner@sgi.com>,
linux-kernel@vger.kernel.org, linux-mm@kvack.org
Subject: [PATCH 0/2] percpu: Optimize percpu accesses v3
Date: Tue, 19 Feb 2008 12:32:26 -0800 [thread overview]
Message-ID: <20080219203226.746641000@polaris-admin.engr.sgi.com> (raw)
This is the generic (non-x86) changes for zero-based per cpu variables.
This patchset provides the following:
* Init: Move setup of nr_cpu_ids to as early as possible for usage
by early boot functions.
* Generic: Percpu infrastructure to rebase the per cpu area to zero
This provides for the capability of accessing the percpu variables
using a local register instead of having to go through a table
on node 0 to find this cpu specific offsets. It also would allow
atomic operations on percpu variables to reduce required locking.
* Introduces a new DEFINE_PER_CPU_FIRST to locate a percpu variable
(cpu_pda in this case) at the beginning of the percpu .data section.
Based on git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git
Signed-off-by: Christoph Lameter <clameter@sgi.com>
Signed-off-by: Mike Travis <travis@sgi.com>
---
v3: * split generic/x86-specific into two patches
v2: * rebased and retested using linux-2.6.git
* fixed errors reported by checkpatch.pl
--
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
next reply other threads:[~2008-02-19 20:32 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-02-19 20:32 Mike Travis [this message]
2008-02-19 20:32 ` [PATCH 1/2] init: move setup of nr_cpu_ids to as early as possible v3 Mike Travis
2008-02-19 20:32 ` [PATCH 2/2] generic: Percpu infrastructure to rebase the per cpu area to zero v3 Mike Travis
2008-02-20 9:14 ` [PATCH 0/2] percpu: Optimize percpu accesses v3 Ingo Molnar
2008-02-20 16:21 ` Thomas Gleixner
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20080219203226.746641000@polaris-admin.engr.sgi.com \
--to=travis@sgi.com \
--cc=ak@suse.de \
--cc=akpm@linux-foundation.org \
--cc=clameter@sgi.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=mingo@elte.hu \
--cc=steiner@sgi.com \
--cc=tglx@linutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).