Re:Is RAM wiped before use in another LXC container?
by Arnavion on Wednesday April 05, 2023 @10:58AM
(#35455335)
No code is written to handle allocation failure because it knows that it's running on an OS with overcommit where handling allocation failure is impossible. Overcommit means that you encounter the problem not when you call `malloc()` but when you do `*pointer = value;`, which is impossible to handle.
[ Parent
| on HN ]
Re:Is RAM wiped before use in another LXC container?
by kevin_thibedeau on Wednesday April 05, 2023 @04:04PM
(#35459694)
Plenty of code runs on systems without that behavior. Graceful handling of malloc failure is still useful.