git: kernel - Fix bugs in recent RSS/swap commits

Matthew Dillon dillon at crater.dragonflybsd.org
Sun Jan 1 13:23:01 PST 2017


commit da2da42072639bd7158bf0dcea4ba34bdcfebd67
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Sun Jan 1 13:20:49 2017 -0800

    kernel - Fix bugs in recent RSS/swap commits
    
    * Refactor the vm_page_try_to_cache() call to take a page already busied,
      and fix a case where it was previously being called improperly that left
      a VM page permanently busy.

Summary of changes:
 sys/kern/vfs_bio.c              |  1 -
 sys/platform/pc64/x86_64/pmap.c |  1 +
 sys/vm/swap_pager.c             |  3 ++-
 sys/vm/vm_page.c                | 12 ++++--------
 4 files changed, 7 insertions(+), 10 deletions(-)

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


-- 
DragonFly BSD source repository



More information about the Commits mailing list