[lkml]   [2002]   [Oct]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [lart] /bin/ps output
   From: Anton Blanchard <>
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
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:30    [W:0.064 / U:4.264 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site