git: kernel - Fix improper OOM process kill when no swap configured
dillon at crater.dragonflybsd.org
Fri May 29 09:43:35 PDT 2015
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date: Fri May 29 09:38:13 2015 -0700
kernel - Fix improper OOM process kill when no swap configured
* The avail_shortage calculation used by the pageout demon to track
whether enough pages could be retired had a degenerate case which
caused the demon to improperly believe that the machine was out of
memory when it wasn't.
* Generally would only happen if no swap was configured.
Summary of changes:
sys/vm/vm_pageout.c | 30 ++++++++++++++++++------------
1 file changed, 18 insertions(+), 12 deletions(-)
DragonFly BSD source repository
More information about the Commits