kernel - Fix panic in setrlimit() when changing the stack limit
authorMatthew Dillon <dillon@apollo.backplane.com>
Tue, 25 May 2010 22:13:29 +0000 (15:13 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Tue, 25 May 2010 22:13:29 +0000 (15:13 -0700)
commite81fcb2c8ba8c4ad138c6a9dc8c1edeb22f32e27
tree24fe111443307dc65a2493a91d9bdabe4e220332
parentbd48f29c8b7cc6382382cbbdca9a3134a25db57c
kernel - Fix panic in setrlimit() when changing the stack limit

* setrlimit() has to make a VM call with the MP lock held when changing
  the stack limit, and was not properly obtaining the MP lock.
sys/kern/kern_plimit.c