kernel - Add required vm_token back in to swaponvp()
authorMatthew Dillon <dillon@apollo.backplane.com>
Tue, 29 Nov 2011 06:10:29 +0000 (22:10 -0800)
committerMatthew Dillon <dillon@apollo.backplane.com>
Tue, 29 Nov 2011 06:10:29 +0000 (22:10 -0800)
commit138b6cd2b75abab695d71aea0ab7642b96e24602
tree44c1f097661f27ebbb88b92f83ece61e3eda1915
parent0d987a03063a07a124553c94d2bbfe9c46852f18
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.
sys/vm/vm_swap.c