Re: [lart] /bin/ps output

From: Andrew Morton (akpm@digeo.com)
Date: Sun Oct 13 2002 - 14:25:10 EST


Anton Blanchard wrote:
>
> > Bah! I'm at a competitive disadvantage because I've got a lesser
> > BITS_PER_LONG. No matter, NR_CPUS > BITS_PER_LONG shall be conquered
> > and the explosion of kernel threads will be quite visible (though
> > unfortunately probably post-freeze).
>
> 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.
>

Half of which is in timer.c.

mnm:/usr/src/25> size kernel/timer.o
   text data bss dec hex filename
   4960 100 167648 172708 2a2a4 kernel/timer.o

That's with NR_CPUS=32. Show me yours.

Using the percpu stuff will not significantly reduce this. Some
new data structure might be needed.
-
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:47 EST