linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] [CFT] elfdiet reduces binfmt_elf
@ 2004-03-15 18:57 John Reiser
  0 siblings, 0 replies; only message in thread
From: John Reiser @ 2004-03-15 18:57 UTC (permalink / raw)
  To: linux-kernel; +Cc: mpm

The elfdiet patch reduces code space and time in the handling of execve()
for binfmt_elf executables.  On x86 the net savings is about 1100 bytes
in size (11% of fs/binfmt_elf.o) and 2.5% in time.  Also, each Elf_Phdr
gets its own .bss as appropriate, including p_flags access permissions.
This can be used by programs such as Wine to reserve address space with
no memory commit charge.

As of March 15, the patch is BETA test quality; I run it in all the time
in normal use on i686 FC2test1.   Please test and report, especially
64-bit machines.

http://www.BitWagon.com/elfdiet/elfdiet.html    description and links

http://www.BitWagon.com/elfdiet/elfdiet-2.6.4.patch.gz  (9KB)
http://www.BitWagon.com/elfdiet/elfdiet-2.6.3-2.1.253.patch.gz  (9KB;
      Fedora Core 2 Test 1)

-- 



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-03-15 18:59 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-03-15 18:57 [PATCH] [CFT] elfdiet reduces binfmt_elf John Reiser

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).