All of lore.kernel.org
 help / color / mirror / Atom feed
From: Richard Henderson <rth@twiddle.net>
To: "Adam J. Richter" <adam@yggdrasil.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [PATCH] modules as shared objects
Date: Sat, 23 Nov 2002 20:36:47 -0800	[thread overview]
Message-ID: <20021123203647.A1092@twiddle.net> (raw)
In-Reply-To: <200211240116.RAA19023@adam.yggdrasil.com>; from adam@yggdrasil.com on Sat, Nov 23, 2002 at 05:16:32PM -0800

On Sat, Nov 23, 2002 at 05:16:32PM -0800, Adam J. Richter wrote:
> I was wondering if there is any other ultimate benefit to your change.

I think the main benefit is leaving some of the hard bits
wrt linking to the user-space linker.  Doesn't affect x86,
but it does affect at least alpha and ia64.

> So, if you adopt a policy that the .init section will be loaded
> contiguously ...

Well, due to the way shared libraries are constructed, the
.init sections *must* be loaded contiguously no matter what.
The question is, how to free that memory.

> I should also check and see if kmalloc returns pointers in the 4MB
> kernel huge page on x86, which would improve TLB usage.

I believe it does.  This decision must be left to the per-arch
allocation routine though.


r~

  reply	other threads:[~2002-11-24  4:30 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-11-24  1:16 [PATCH] modules as shared objects Adam J. Richter
2002-11-24  4:36 ` Richard Henderson [this message]
  -- strict thread matches above, loose matches on Subject: below --
2002-11-23 22:01 Richard Henderson
2002-11-25  1:10 ` Rusty Russell

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=20021123203647.A1092@twiddle.net \
    --to=rth@twiddle.net \
    --cc=adam@yggdrasil.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 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.