git: kernel - Add required vm_token back in to swaponvp()

Matthew Dillon dillon at crater.dragonflybsd.org
Mon Nov 28 22:20:01 PST 2011


commit 138b6cd2b75abab695d71aea0ab7642b96e24602
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Mon Nov 28 22:10:29 2011 -0800

    kernel - Add required vm_token back in to swaponvp()
    
    * This case is not normally hit unless you try to add new swap space
      while the machine is already heavily paging to or from swap.
    
    * The blist operations and vm_swap_size variable manipulation needs
      the token.
    
    * Clean-up the exit code by creating a common exit code section.

Summary of changes:
 sys/vm/vm_swap.c |   33 +++++++++++++++++----------------
 1 files changed, 17 insertions(+), 16 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/138b6cd2b75abab695d71aea0ab7642b96e24602


-- 
DragonFly BSD source repository





More information about the Commits mailing list