On Thu, Nov 07, 2002 at 11:44:56AM -0800, Andrew Morton wrote:
> Tom Rini wrote:
> >
> > On Thu, Nov 07, 2002 at 11:27:25AM -0800, Andrew Morton wrote:
> > > Tom Rini wrote:
> > > >
> > > > Comments?
> > >
> > > You missed this little fella:
> > >
> > > text data bss dec hex filename
> > > 1735 1120 131104 133959 20b47 kernel/pid.o
> > >
> > >
> > > Have a controversial patch which takes it to:
> > >
> > > text data bss dec hex filename
> > > 1614 1120 2080 4814 12ce kernel/pid.o
> >
> > My patch isn't about size per-se, it's about tweaking the kernel and
> > making it easier to do things like get a small kernel. Or work on boxes
> > with large amounts of memory and not use HIGHMEM, or otherwise have
> > tweakable params with N different config options.
> >
>
> Yes. Replace PIDHASH_SHIFT (in that patch) with TWEAK_PIDHASH_SHIFT.
> It must be a power of two.
>
> Those tables are currently 128k even on the teeniest little
> uniprocessor build.
Ah, I see now. In the next version I'll add that as an additional
patch. Any comments on the idea itself or how I implemented it or
anything?
-- Tom Rini (TR1265) http://gate.crashing.org/~trini/ - 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 : Thu Nov 07 2002 - 22:00:49 EST