ld.so load shared object using hugepage to decrease TLB cache miss.
Lv Ying (2):
elf: dynamic linker load shared object use hugepage as much as
possible
elf/ld.so: use special mmap for hugepage to get symbols in hugepage
area for debug purpose
config.h.in | 2 +
configure | 20 ++
configure.ac | 11 +
elf/Makefile | 8 +
elf/dl-environ.c | 11 +
elf/dl-load.c | 38 +++
elf/dl-load.h | 14 +
elf/dl-map-segments-hugepage.h | 572 +++++++++++++++++++++++++++++++++
elf/elf.h | 4 +
elf/hugepageedit.c | 136 ++++++++
elf/rtld.c | 54 +++-
sysdeps/generic/ldsodefs.h | 6 +-
12 files changed, 874 insertions(+), 2 deletions(-)
create mode 100644 elf/dl-map-segments-hugepage.h
create mode 100644 elf/hugepageedit.c
--
2.27.0