public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Huang Ying <ying.huang@intel.com>
To: Tejun Heo <tj@kernel.org>, Christoph Lameter <cl@linux-foundation.org>
Cc: LKML <linux-kernel@vger.kernel.org>
Subject: What is the difference between percpu_xxx and this_cpu_xxx?
Date: Tue, 13 Sep 2011 12:28:43 +0800	[thread overview]
Message-ID: <4E6EDBFB.4010705@intel.com> (raw)

Hi,

If my understanding was correct, from the kernel source code, it appears
that percpu_xxx and this_cpu_xxx have the same semantics and
implementation in effect, haven’t them?

If so, why do we need two API for the same thing?

Best Regards,
Huang Ying

             reply	other threads:[~2011-09-13  4:28 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-13  4:28 Huang Ying [this message]
2011-09-13  6:11 ` What is the difference between percpu_xxx and this_cpu_xxx? Eric Dumazet
2011-09-13  6:14   ` Huang Ying
2011-09-13  7:40     ` Tejun Heo

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=4E6EDBFB.4010705@intel.com \
    --to=ying.huang@intel.com \
    --cc=cl@linux-foundation.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=tj@kernel.org \
    /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