All of lore.kernel.org
 help / color / mirror / Atom feed
From: Enrico Weigelt <weigelt@metux.de>
To: linux-kernel@vger.kernel.org
Subject: Dynamic linking in the kernel
Date: Sat, 20 Feb 2010 19:22:40 +0100	[thread overview]
Message-ID: <4B802870.5030201@metux.de> (raw)

Hi folks,

just some naive thoughts on dynamic linking:

Starting up an dynamically linked executable tends to need a lot
of syscalls. A kernel-based dynamic linker could cache a lot of
relocation data (eg. when the same binary is called many times),
share pages even w/o mmap(), and the ldstub wouldnt be needed
anymore.

At that point we maybe also could create a new binfmt which is
tailored to efficiency (much simpler than ELF)


What do you think about this idea ?


cu
-- 
----------------------------------------------------------------------
 Enrico Weigelt, metux IT service -- http://www.metux.de/

 cellphone: +49 174 7066481   email: info@metux.de   skype: nekrad666
----------------------------------------------------------------------
 Embedded-Linux / Portierung / Opensource-QM / Verteilte Systeme
----------------------------------------------------------------------


             reply	other threads:[~2010-02-20 18:31 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-02-20 18:22 Enrico Weigelt [this message]
2010-02-20 20:57 ` Dynamic linking in the kernel David Miller
2010-02-22  5:43   ` Enrico Weigelt
2010-02-22  6:21     ` David Miller

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=4B802870.5030201@metux.de \
    --to=weigelt@metux.de \
    --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.