Re:The future of 32-bit support in the kernel
by int_19h on Monday September 01, 2025 @09:32PM
(#45098213)
In an embedded scenario where the complete set of processes that are going to be running at the same time is known in advance, I would imagine that you could even just build the binaries with the correct base address in advance.
[ Parent
| on HN ]
Re:The future of 32-bit support in the kernel
by actionfromafar on Tuesday September 02, 2025 @03:14AM
(#45100015)
A common trick to decrease code size in RAM, is to link everything to a single program, then have the program check its argv[0] to know which program to call.
With the right filesystem (certain kinds of read-only), the code (text segment) can even be mapped directly, and no loading into RAM need occur at all.
These approaches saves memory even on regular MMU platforms.