|
|
Log in / Subscribe / Register

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.


to post comments

Shrinking the kernel with a hammer

Posted Jan 17, 2023 10:18 UTC (Tue) by sammythesnake (guest, #17693) [Link]

[thread necromancy alert!]

Presumably when mkcramfs compresses files/blocks it has a case to store incompressible things unmodified - marking those files/blocks for XIP might be give the bulk of the benefit of a more sophisticated version for a lot less effort...


Copyright © 2026, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds