[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Pine.LNX.4.64.0712171141530.12871@schroedinger.engr.sgi.com>
Date: Mon, 17 Dec 2007 11:42:15 -0800 (PST)
From: Christoph Lameter <clameter@....com>
To: Herbert Xu <herbert@...dor.apana.org.au>
cc: Ingo Molnar <mingo@...e.hu>,
Alexey Kuznetsov <kuznet@....inr.ac.ru>,
Wang Chen <wangchen@...fujitsu.com>,
Gerrit Renker <gerrit@....abdn.ac.uk>, davem@...emloft.net,
andi@...stfloor.org, netdev@...r.kernel.org,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH 3/3] [UDP6]: Counter increment on BH mode
On Sun, 16 Dec 2007, Herbert Xu wrote:
> If we can get the address of the per-cpu counter against
> some sort of a per-cpu base pointer, e.g., %gs on x86, then
> we can do
>
> incq %gs:(%rax)
>
> where %rax would be the offset with %gs as the base. This would
> obviate the need for the CPU ID and therefore avoid disabling
> preemption.
>
> Hmm, wasn't Christoph working on something like that?
Yes that is what the cpu alloc patchset implements.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists