logoalt Hacker News

feelameeyesterday at 7:11 PM1 replyview on HN

> if you’re a critical process like xlock, use statically allocated memory and don’t alloc again.

This doesn't save you if someone other allocates and OOM killer chooses you as victim


Replies

hkolkyesterday at 7:14 PM

What is proposed is to not have an OOM killer with a selection process, meaning that the "someone other allocates" would be the one dying.

show 2 replies