Thread (1 message) 1 message, 1 author, 2009-01-16

Re: [PATCH] percpu: add optimized generic percpu accessors

From: Herbert Xu <herbert@gondor.apana.org.au>
Date: 2009-01-16 00:19:19
Also in: lkml

On Fri, Jan 16, 2009 at 01:15:44AM +0100, Ingo Molnar wrote:
quoted
So if you could design the API such that we have a variant of add/inc 
that automatically disables/enables preemption then we can optimise that 
away on x86.
Yeah. percpu_add(var, 1) does exactly that on x86.
Awesome! Sounds like we can finally do away with those nasty
hacks in the SNMP macros.

Cheers,
-- 
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} [off-list ref]
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help