From: Shan Wei <shanwei88-Re5JQEeQqe8AvxtiuMwx3w@public•gmane.org>
To: Sven Eckelmann <sven-KaDOiPu9UxWEi8DpZVb4nw@public•gmane.org>
Cc: NetDev <netdev-u79uwXL29TY76Z2rM5mHXA@public•gmane.org>,
b.a.t.m.a.n-ZwoEplunGu2X36UT3dwllkB+6BGkLq7r@public•gmane.org,
Kernel-Maillist
<linux-kernel-u79uwXL29TY76Z2rM5mHXA@public•gmane.org>,
siwu-MaAgPAbsBIVS8oHt8HbXEIQuADTiUCJX@public•gmane.org,
Christoph Lameter <cl-vYTEC60ixJUAvxtiuMwx3w@public•gmane.org>,
lindner_marek-LWAfsSFWpa4@public•gmane.org,
David Miller <davem-fT/PcQaiUtIeIZ0/mPfg9Q@public•gmane.org>
Subject: Re: [PATCH v2 9/9] net: batman-adv: use per_cpu_add helper
Date: Sat, 03 Nov 2012 12:58:45 +0800 [thread overview]
Message-ID: <5094A485.4060409@gmail.com> (raw)
In-Reply-To: <5905519.yWN2Ke3YlE@bentobox>
Sven Eckelmann said, at 2012/11/3 1:55:
> On Saturday 03 November 2012 00:02:06 Shan Wei wrote:
>> From: Shan Wei <davidshan-1Nz4purKYjRBDgjK7y7TUQ@public•gmane.org>
>>
>> As Christoph Lameter said:
>>> In addition, following usage of per_cpu_ptr can be replaced by
>>> this_cpu_read.
>>>
>>> cpu=get_cpu()
>>> ....
>>> *per_cpu_ptr(p,cpu)
>>> ....
>>> ....
>>> put_cpu()
>>
>> Right.
>>
>> Signed-off-by: Shan Wei <davidshan-1Nz4purKYjRBDgjK7y7TUQ@public•gmane.org>
>> ---
>
> Is this really supposed to be the commit message?
Maybe it's ok when Linus said this. :-)
Christoph is the maintainer of per-cpu.
So........
PER-CPU MEMORY ALLOCATOR
M: Tejun Heo <tj-DgEjT+Ai2ygdnm+yROfE0A@public•gmane.org>
M: Christoph Lameter <cl-de/tnXTf+JLsfHDXvbKv3WD2FQJk+8+b@public•gmane.org>
T: git git://git.kernel.org/pub/scm/linux/kernel/git/tj/percpu.git
S: Maintained
F: include/linux/percpu*.h
F: mm/percpu*.c
F: arch/*/include/asm/percpu.h
>
> Kind regards,
> Sven
>
next prev parent reply other threads:[~2012-11-03 4:58 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-11-02 16:02 [PATCH v2 9/9] net: batman-adv: use per_cpu_add helper Shan Wei
2012-11-02 17:48 ` Christoph Lameter
[not found] ` <5093EE7E.6040400-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2012-11-02 17:55 ` Sven Eckelmann
2012-11-03 4:58 ` Shan Wei [this message]
[not found] ` <5094A485.4060409-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2012-11-03 22:39 ` Sven Eckelmann
2012-11-05 15:19 ` Christoph Lameter
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=5094A485.4060409@gmail.com \
--to=shanwei88-re5jqeeqqe8avxtiumwx3w@public$(echo .)gmane.org \
--cc=b.a.t.m.a.n-ZwoEplunGu2X36UT3dwllkB+6BGkLq7r@public$(echo .)gmane.org \
--cc=cl-vYTEC60ixJUAvxtiuMwx3w@public$(echo .)gmane.org \
--cc=davem-fT/PcQaiUtIeIZ0/mPfg9Q@public$(echo .)gmane.org \
--cc=lindner_marek-LWAfsSFWpa4@public$(echo .)gmane.org \
--cc=linux-kernel-u79uwXL29TY76Z2rM5mHXA@public$(echo .)gmane.org \
--cc=netdev-u79uwXL29TY76Z2rM5mHXA@public$(echo .)gmane.org \
--cc=siwu-MaAgPAbsBIVS8oHt8HbXEIQuADTiUCJX@public$(echo .)gmane.org \
--cc=sven-KaDOiPu9UxWEi8DpZVb4nw@public$(echo .)gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
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