Re: [lart] /bin/ps output

From: David S. Miller (davem@redhat.com)
Date: Sat Oct 12 2002 - 01:53:29 EST


   From: Anton Blanchard <anton@samba.org>
   Date: Sat, 12 Oct 2002 14:09:59 +1000

   Speaking of which, the recent CONFIG_NR_CPUS addition shows just how
   bloated all our [NR_CPU] structures are. We need to get serious about
   using the per cpu data stuff. Going from 32 to 64 was over 500kB on my
   ppc64 build.

In fact, thinking about this some more, we should make the ".per_cpu"
bits emit a table entry instead of some dummy object which takes up
space. The table entry would be in the special .per_cpu
section still but be just a size value.

We should do this on both SMP and non-SMP and it will shrink the
kernel image size in both cases.

I don't have the time to implement this so I'll shut up now :-)
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue Oct 15 2002 - 22:00:42 EST