Re: 64bit kernel is huge

2009-09-30 Thread Michael Neuling
> > 2.6.28 8647080 1699460 780472 11127012a9c8e4 > > 2.6.27 7461663 1505796 774400 9741859 94a623 > > If you compile 28 with the 27 pseries_config, you lose most of this > 1.2MB text bloat. > > If we remove just FUNCTION_TRACER and STACK_TRACER from 28 we gain back > a

Re: 64bit kernel is huge

2009-09-30 Thread Michael Neuling
> 2.6.28 86470801699460 780472 11127012a9c8e4 > 2.6.27 74616631505796 774400 9741859 94a623 If you compile 28 with the 27 pseries_config, you lose most of this 1.2MB text bloat. If we remove just FUNCTION_TRACER and STACK_TRACER from 28 we gain back about 600K.

Re: 64bit kernel is huge

2009-09-30 Thread Michael Ellerman
On Mon, 2009-09-28 at 17:45 +1000, Anton Blanchard wrote: > Hi, > > I've found at least one machine that wont boot 2.6.31-rc* with a > pseries_defconfig. If I move real-base from 0xc0 to 0xd0 it > boots fine. > > # size vmlinux >text data bss dec hex filename > 9

Re: 64bit kernel is huge

2009-09-30 Thread Benjamin Herrenschmidt
On Wed, 2009-09-30 at 16:01 +1000, Michael Neuling wrote: > 2.6.30 9221595 1620728 1052812 11895135b5815f > 2.6.29 9104807 1569840 785292 11459939aedd63 The jump in BSS size is huge... lockdep ? Ben. ___ Linuxppc-d

Re: 64bit kernel is huge

2009-09-30 Thread Arnd Bergmann
On Monday 28 September 2009, Anton Blanchard wrote: > 262144 kstat_irqs_all > 131072 irq_desc > 16384 irq_stat > > Could we dynamically allocate our irq structures? There were patches floating around for that a few years ago, but I haven't seen anyone working on it since. > 131072 lppaca

Re: 64bit kernel is huge

2009-09-29 Thread Michael Neuling
> # size vmlinux >text data bss dec hex filename > 9812942 1982496 1105228 12900666 c4d93a vmlinux ... over kernel releases with pseries_defconfig: text databss dec hex 2.6.32-rc1 9872090 1971184 1105236 12948

Re: 64bit kernel is huge

2009-09-28 Thread Michael Ellerman
On Mon, 2009-09-28 at 18:07 +1000, Benjamin Herrenschmidt wrote: > On Mon, 2009-09-28 at 17:45 +1000, Anton Blanchard wrote: > > Hi, > > > > I've found at least one machine that wont boot 2.6.31-rc* with a > > pseries_defconfig. If I move real-base from 0xc0 to 0xd0 it > > boots fine. > >

Re: 64bit kernel is huge

2009-09-28 Thread Benjamin Herrenschmidt
On Mon, 2009-09-28 at 17:45 +1000, Anton Blanchard wrote: > Hi, > > I've found at least one machine that wont boot 2.6.31-rc* with a > pseries_defconfig. If I move real-base from 0xc0 to 0xd0 it > boots fine. > > # size vmlinux >text data bss dec hex filename > 9

64bit kernel is huge

2009-09-28 Thread Anton Blanchard
Hi, I've found at least one machine that wont boot 2.6.31-rc* with a pseries_defconfig. If I move real-base from 0xc0 to 0xd0 it boots fine. # size vmlinux textdata bss dec hex filename 9812942 1982496 1105228 12900666 c4d93a vmlinux Looks like we blow right