[lkml]   [2008]   [Aug]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH -V3 01/11] percpu_counters: make fbc->count read atomic on 32 bit architecture
On Thu, 28 Aug 2008 09:18:16 +0530 "Aneesh Kumar K.V" <> wrote:

> > This is now too large to be inlined.
> >
> How do we actually figure that out ? I have been making that mistakes
> quiet often.

Well. Experience and guesswork, mainly.

But a useful metric is to look and the /bin/size output before and
after the inlining. In this case fs/ext3/ialloc.o's text shrunk 40-odd
bytes, which we think is a net benefit due to reduced CPU cache

 \ /
  Last update: 2008-08-28 06:11    [from the cache]
©2003-2014 Jasper Spaans. hosted at Digital Ocean