[BusyBox] choice for reserving buffers
Vladimir N. Oleynik
dzo at simtreas.ru
Fri Jan 26 17:39:01 UTC 2001
Larry Doolittle wrote:
> If the system runs short on memory, malloc will return NULL (and
> the xmalloc wrapper will exit). A page fault that should create
> a new, physical BSS page, but can't because of a memory shortage,
> will turn into a SIGSEGV, or similar.
Correct Unix thus should not do it and
put the process in waiting or not start at all.
As size BSS is beforehand known.
It is disadvantage Linux :(
--w
vodz
More information about the busybox
mailing list