News for hackers. Stuff that matters.
Re:How OpenBSD Leverages Malloc to Find Bugs by lflux on Monday November 28, 2011 @01:06PM (#3286882)
The mmap() implementation is awesome. I used to write code for a network hardware management computer which ran OpenBSD on a memory-constrained Soekris (quasi-embedded environment more or less). The fact that OpenBSD's implementation returns memory when allocations are free()'d saved my bacon more than once. With another malloc I'd be out of memory way sooner.
Re:How OpenBSD Leverages Malloc to Find Bugs by ajross on Monday November 28, 2011 @02:55PM (#3287326)
OpenBSD can't swap?
Re:How OpenBSD Leverages Malloc to Find Bugs by lflux on Monday November 28, 2011 @04:55PM (#3287803)
It can, but this system was running on a Compact Flash (real small, I think maybe 32M usable space) so swapping was out of the question. This was also before CF got good and started mapping in good sectors when bad got overwritten.