Skip to contentSkip to conversation

elfdiet reduces binfmt_elf

PATCH New John Reiser 1 participant 1 message Mar 15, 2004

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 elfdiet reduces binfmt_elf

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)