LKML Archive on
help / color / mirror / Atom feed
From: Mike Travis <>
To: Andrew Morton <>,
	Ingo Molnar <>, Thomas Gleixner <>,
	Andi Kleen <>
Cc: Christoph Lameter <>,
	Jack Steiner <>,,
Subject: [PATCH 0/2] percpu: Optimize percpu accesses v3
Date: Tue, 19 Feb 2008 12:32:26 -0800	[thread overview]
Message-ID: <> (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://

Signed-off-by: Christoph Lameter <>
Signed-off-by: Mike Travis <>
v3: * split generic/x86-specific into two patches

v2: * rebased and retested using linux-2.6.git
    * fixed errors reported by


             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:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \ \ \ \ \ \ \ \
    --subject='Re: [PATCH 0/2] percpu: Optimize percpu accesses v3' \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

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).