[PATCH] [CFT] elfdiet reduces binfmt_elf

From: John Reiser
Date: Mon Mar 15 2004 - 14:00:54 EST

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)


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/