login
Header Space

 
 

Re: [PATCH REPOST] CPA: Add statistics about state of direct mapping v4

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Thomas Gleixner <tglx@...>
Cc: <mingo@...>, <linux-kernel@...>
Date: Monday, May 5, 2008 - 6:23 am

>> +static unsigned long direct_pages_count[PG_LEVEL_NUM];

True. Can you please just remove it? I think it came when this
was still only used in early memory init.

[insert standard rant about the work:code size benefit ratio of these
fine grained section identifiers being far too high]


So we don't have to add a ifdef in all the callers. Yes could probably
have an empty inline in that case in some header, but frankly that would
be a lot of code lines for saving only very minor code size in a very
unlikely CONFIG case.

-Andi

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

Messages in current thread:
Re: [PATCH REPOST] CPA: Add statistics about state of direct..., Andi Kleen, (Mon May 5, 6:23 am)
speck-geostationary