Shrinking the kernel with a hammer
Shrinking the kernel with a hammer
Posted Mar 2, 2018 19:55 UTC (Fri) by npitre (subscriber, #5680)In reply to: Shrinking the kernel with a hammer by seebe
Parent article: Shrinking the kernel with a hammer
The XIP support for CramFS available in Linux v4.15 already has the ability to work with individually selected XIP-ed pages. It's just a matter of adding a profile-based page selection mechanism to mkcramfs.
Right now mkcramfs enables XIP only for pages that correspond to loadable ELF segments that are flagged readable and/or executable, and not writable. That could be easily extended to e.g. media files that are inherently compressed.
