login
Header Space

 
 

Re: [PATCH v1] change likeliness accounting

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Roel Kluin <12o3l@...>
Cc: lkml <linux-kernel@...>, Hua Zhong <hzhong@...>, <akpm@...>
Date: Friday, March 14, 2008 - 4:26 pm

On Fri, 2008-03-14 at 00:06 +0100, Roel Kluin wrote:


On second look, your actually break even on size (if not a little worse)
cause you adding some addition code into the macro which effectively
inlines it at all the likely/unlikely locations .. I'm not sure that's
really necessary .. 

Also by not including the file name you have situation like the
following,

+unlikely |   208324|  4010128| do_sys_open+0x2a/0xb2()@:34

Where do_sys_open is on line 1076 in file fs/open.c , but the likely
location is actual on like 34 in file include/linux/err.h ..

So I think saving of the EIP does help in finding the actually caller,
but I do think we loose something by removing the file name..

Daniel

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH v1] change likeliness accounting, Roel Kluin, (Thu Mar 13, 7:06 pm)
Re: [PATCH v1] change likeliness accounting, Nick Piggin, (Sun Mar 16, 10:45 pm)
Re: [PATCH v1] change likeliness accounting, Daniel Walker, (Fri Mar 14, 4:26 pm)
Re: [PATCH v1] change likeliness accounting, Daniel Walker, (Fri Mar 14, 3:53 pm)
speck-geostationary