Nolibc: a minimal C-library replacement shipped with the kernel
Nolibc: a minimal C-library replacement shipped with the kernel
Posted Apr 21, 2023 10:20 UTC (Fri) by farnz (subscriber, #17727)In reply to: Nolibc: a minimal C-library replacement shipped with the kernel by anselm
Parent article: Nolibc: a minimal C-library replacement shipped with the kernel
Rather than splitting libc.so, then, would a better option be to work out what pages of libc are commonly used together, and group things such that you don't page in the bits you're not going to use? That way, you need only build system changes to libc (possibly quite big ones), but then all applications benefit immediately (e.g. if you don't ever use the X/Open Message Catalog interface for message translation, you don't page in any of the functions involved in that interface).