~/talk

The Challenge of Loading 4kB-Aligned ELFs on 16kB Systems

Talkat Linux Plumbers Conference 2025 · 2025-12-11..12-13
links:none on file
links:none on file
slides:none on file

Devices gain ~30% app launch and ~5–7.5% power savings by moving to 16k pages, but legacy 4k-aligned ELFs put RX and RW segments in one page. A modified dynamic loader implements re-read/re-executable rewrite consolidation, mapping combined permissions into an anonymous region and shifting the boundary, which raises compatibility from 44% to 74% and with extra checks to 91.4% then 94% compatibility on top apps. A subpage MFD approach proved correct but up to 15x slower and incompatible with syscall and obfuscated custom-loaders, while binary rewriting fails due to stripped relocation info and mixed code/data.

AI-written summary · about

  1. 0:00Introduction
  2. 0:22Benefits of 16k page sizes
  3. 1:28Problem with 4k alignment
  4. 2:08Dynamic loader approach
  5. 3:34Handling linker script bugs
  6. 4:39Custom ELF layouts challenge
  7. 6:28Compatibility improvements
  8. 6:50Attempting ELF rewrite
  9. 8:38Remaining 6% of apps
  10. 10:46Open discussion and Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.