lkml.org 
[lkml]   [2010]   [Dec]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [Use cpuops V1 10/11] fs: Use this_cpu_xx operations in buffer.c
On 12/06/2010 06:16 PM, Christoph Lameter wrote:
> Optimize various per cpu area operations through the new this cpu
> operations. These operations avoid address calculations through the use
> of segment prefixes avoid multiple memory references through RMW
> instructions etc.
>
> Reduces code size:
>
> Before:
>
> christoph@linux-2.6$ size fs/buffer.o
> text data bss dec hex filename
> 19169 80 28 19277 4b4d fs/buffer.o
>
> After:
>
> christoph@linux-2.6$ size fs/buffer.o
> text data bss dec hex filename
> 19138 80 28 19246 4b2e fs/buffer.o
>
> V3->V4:
> - Move the use of this_cpu_inc_return into a later patch so that
> this one can go in without percpu infrastructure changes.
>
> Cc: Wu Fengguang <fengguang.wu@intel.com>
> Cc: Christoph Hellwig <hch@lst.de>
> Signed-off-by: Christoph Lameter <cl@linux.com>

applied 10 and 11.

--
tejun


\
 
 \ /
  Last update: 2010-12-07 16:19    [from the cache]
©2003-2011 Jasper Spaans