Re: Out of memory management in embedded systems

From: Markku Savela
Date: Mon Oct 01 2007 - 04:07:05 EST


How about just simple solution? Make it possible that "malloc" works
as it was originally intended: return NULL, if memory not available,
non-NULL only if allocation truly succeeded and is guaranteed..

Make kernel configuration option? (e.g. disable "over commit"
mis-feature :-)

--
Markku Savela
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/