From: Andrew Morton <akpm@digeo.com>
To: Tom Rini <trini@kernel.crashing.org>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [RFC] Templates and tweaks (for size performance and more)
Date: Thu, 07 Nov 2002 11:44:56 -0800 [thread overview]
Message-ID: <3DCAC2B8.E6271EF1@digeo.com> (raw)
In-Reply-To: 20021107193330.GE6164@opus.bloom.county
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.
next prev parent reply other threads:[~2002-11-07 19:38 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-11-07 19:09 [RFC] Templates and tweaks (for size performance and more) Tom Rini
2002-11-07 19:27 ` Andrew Morton
2002-11-07 19:33 ` Tom Rini
2002-11-07 19:44 ` Andrew Morton [this message]
2002-11-07 19:54 ` Tom Rini
2002-11-07 21:03 ` Russell King
2002-11-07 21:08 ` Russell King
2002-11-07 22:10 ` Tom Rini
2002-11-07 23:57 ` Tom Rini
2002-11-07 22:06 ` Tom Rini
2002-11-08 0:29 ` Russell King
2002-11-08 0:37 ` Tom Rini
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3DCAC2B8.E6271EF1@digeo.com \
--to=akpm@digeo.com \
--cc=linux-kernel@vger.kernel.org \
--cc=trini@kernel.crashing.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.