24 ms·
swap requires MMU, so no, unfortunately. But there are tricks to have XIP userspace: cramfs supports it, as well as a special AXFS file system. cramfs parses E
by ValdikSS 10mo ago
swap requires MMU, so no, unfortunately. But there are tricks to have XIP userspace: cramfs supports it, as well as a special AXFS file system.
cramfs parses ELF files and marks XIP only a .text/ro segments of it, not the whole file.
https://github.com/npitre/cramfs-tools/commit/2325ed2de8fd1781cbf36ca31797de1d306ccb8e https://github.com/npitre/cramfs-tools/commit/2325ed2de8fd17...
- actionfromafar 10mo agoHistorically, Unix SVR7 and Minix had swap with no MMU. But Linux can't do it.