commit | a9be4d35081f3c7ed51e25258ce9b6c0bc94eafa | [log] [tgz] |
---|---|---|
author | Jan Stancek <jstancek@redhat.com> | Wed Nov 25 12:44:31 2015 +0100 |
committer | Jan Stancek <jstancek@redhat.com> | Thu Nov 26 15:41:28 2015 +0100 |
tree | 5bc94b5192eb31b76fc290f0f71c87f44045f339 | |
parent | ba607821c508573ee36749f7c1bc9802bf6ee337 [diff] |
mem/oom: don't fail if pthread_create hits EAGAIN In a rare situation on system with many CPUs, small RAM and overcommit_memory == 2, threads that are already started can create memory pressure, that causes pthread_create to hit EAGAIN. Don't fail the test, keep going with threads that are already spawned. Signed-off-by: Jan Stancek <jstancek@redhat.com> Acked-by: Cyril Hrubis <chrubis@suse.cz>