git: kernel - Fix swapcache cleaning issue

Matthew Dillon dillon at crater.dragonflybsd.org
Fri May 18 23:47:26 PDT 2018


commit eea5ad68c68fec8924773b2aba3d9025ae114c74
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Fri May 18 23:41:14 2018 -0700

    kernel - Fix swapcache cleaning issue
    
    * Fix a bug when a single object has swapcached pages.  In this
      situation, when swapcache exhausts its scan of the object it
      will fail to cycle back to the beginning.  This prevents it
      from cycling any further pages for the object.
    
    * Does not corrupt the system or anything like that, but causes
      swapcache to behave in a way that can sometimes make it less
      useful.
    
    Reported-by: tuxillo (java on monster)

Summary of changes:
 sys/vm/vm_swapcache.c | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

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


-- 
DragonFly BSD source repository



More information about the Commits mailing list