lkml.org 
[lkml]   [2010]   [Dec]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [cpuops cmpxchg V2 3/5] irq_work: Use per cpu atomics instead of regular atomics
On 12/14/2010 05:28 PM, Christoph Lameter wrote:
> The irq work queue is a per cpu object and it is sufficient for
> synchronization if per cpu atomics are used. Doing so simplifies
> the code and reduces the overhead of the code.
>
> Before:
>
> christoph@linux-2.6$ size kernel/irq_work.o
> text data bss dec hex filename
> 451 8 1 460 1cc kernel/irq_work.o
>
> After:
>
> christoph@linux-2.6$ size kernel/irq_work.o
> text data bss dec hex filename
> 438 8 1 447 1bf kernel/irq_work.o
>
> Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
> Signed-off-by: Christoph Lameter <cl@linux.com>

Applied 3 and 4 to percpu#for-2.6.38.

Thank you.

--
tejun


\
 
 \ /
  Last update: 2010-12-18 16:35    [W:0.116 / U:0.324 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site