diff options
author | kib <kib@FreeBSD.org> | 2015-11-16 05:52:04 +0000 |
---|---|---|
committer | kib <kib@FreeBSD.org> | 2015-11-16 05:52:04 +0000 |
commit | fae664e9cc1c5df699f538f6a6f0252feba92872 (patch) | |
tree | 05961bce8c4160f39abc88b63512f7770bfdf91c /tests | |
parent | ac4414a9cd7139a429df393241e72f945a7fd217 (diff) | |
download | FreeBSD-src-fae664e9cc1c5df699f538f6a6f0252feba92872.zip FreeBSD-src-fae664e9cc1c5df699f538f6a6f0252feba92872.tar.gz |
VM daemon works in parallel with the pagedaemon threads, and, among
other actions, swaps out kernel stacks of the processes. On the other
hand, currentl OOM logic which selects a process to kill in the
critical condition, skips process with swapped-out thread. Under some
loads, this results in the big(gest) process being ignored by OOM.
Do not skip a process which has inhibited thread due to the swap-out,
in the OOM selection loop. Note that killing such process requires
the thread stack page-in, but sometimes this is the only way to
recover.
Reported and tested by: pho
Reviewed by: alc
Sponsored by: The FreeBSD Foundation
MFC after: 3 weeks
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions