IRC channel logs
2025-10-28.log
back to list of logs
<Googulator>Besides builder-hex0, is there any other kernel (that matters today) that doesn't support Linux's anonymous MMAP in a compatible way? <Googulator>I'd much rather have the bootstrap standardize on mmap-anon than on brk, given that brk is considered completely obsolete by POSIX <Googulator>OTOH mmap-anon is just plain absent from POSIX standards, which instead say that the memory allocation interface is standardized at libc level only <Googulator>but IMO it seems easier to lobby for standardizing the anonymous argument to mmap than for undeprecating brk, which was actually deprecated for a very good reason (to allow POSIX compliance of systems that can't physically have a flat memory map in user mode) <Googulator>didn't we have the opposite issue with posix-runner, i.e. that UEFI can only implement the equivalent of mmap, not brk? <matrix_bridge><Andrius Štikonas> Anyway, probably mmap can be implemented but we would need to set up paging <matrix_bridge><Andrius Štikonas> Right now it pre-reserves huge chunk of memory from uefi and then uses it as brk region