lkml.org 
[lkml]   [2008]   [Apr]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 2.6.25 and DEBUG_SECTION_MISMATCH
On Wed, Apr 16, 2008 at 09:55:04PM +0200, Ingo Molnar wrote:
>
> * Ingo Molnar <mingo@elte.hu> wrote:
>
> > * Sam Ravnborg <sam@ravnborg.org> wrote:
> >
> > > I would prefer we were down to less than 5 warnings so we could
> > > enable it in kconfig but maybe after next merge window.
> >
> > they get regenerated. More than 1 out of every 100 new patches. Quite
> > expensive feature (in terms of maintenance overhead) for a rather
> > theoretical memory saving benefit.
>
> in v2.6.24 we had at least 200 section fixes:
>
> $ git-log v2.6.24.. | egrep -c 'WARNING:.*Section mismatch'
> 198
>
> for 12671 commits - that's 1 section type fix for every 60 commits.
Please get your numbers right. What you count is the number of
Section mismatch warnings that has been fixed.
Sometime fixing up one line of code fixes >5 section mismatch warnings.

> and 90% of the problems could be reduced via the very simple patch below
> ...
>
> so ... why shouldnt we say that if someone wants to have this feature,
> it should be done all automatically, in the link space. There's no
> reason why the dependencies couldnt be figured out all automatically.

Or we could fix the blatant misuse of __cpuinit. If has
replaced a proper separation of code that is only relevant for
CPU hotplug and code that is used with and without CPUHOTPLUG.

I question that we have 580 functions that is used duing init in
normal cases and during CPU hotplug.

Sam


\
 
 \ /
  Last update: 2008-04-16 22:55    [W:0.053 / U:0.024 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site