mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Tom Rini <trini@kernel.crashing.org>
To: Andrew Morton <akpm@digeo.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [RFC] Templates and tweaks (for size performance and more)
Date: Thu, 7 Nov 2002 12:54:24 -0700	[thread overview]
Message-ID: <20021107195424.GF6164@opus.bloom.county> (raw)
In-Reply-To: <3DCAC2B8.E6271EF1@digeo.com>

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/

  reply	other threads:[~2002-11-07 19:47 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-11-07 19:09 Tom Rini
2002-11-07 19:27 ` Andrew Morton
2002-11-07 19:33   ` Tom Rini
2002-11-07 19:44     ` Andrew Morton
2002-11-07 19:54       ` Tom Rini [this message]
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=20021107195424.GF6164@opus.bloom.county \
    --to=trini@kernel.crashing.org \
    --cc=akpm@digeo.com \
    --cc=linux-kernel@vger.kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®