git: DragonFly_RELEASE_4_0 kernel - Fix improper OOM process kill when no swap configured

Matthew Dillon dillon at crater.dragonflybsd.org
Fri May 29 09:44:50 PDT 2015


commit dec6923593dbafddcdf1b5b34f634c25a146de2c
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.
    
    Reported-by: joris

Summary of changes:
 sys/vm/vm_pageout.c | 30 ++++++++++++++++++------------
 1 file changed, 18 insertions(+), 12 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/dec6923593dbafddcdf1b5b34f634c25a146de2c


-- 
DragonFly BSD source repository


More information about the Commits mailing list