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>
1 file changed