git: kernel - Fix vm_object token deadlock
commit bdea739c3640a6c0dad2c22379358730d1c512c9
Author: Matthew Dillon <dillon@apollo.backplane.com>
Date: Sun Nov 20 09:47:47 2011 -0800
kernel - Fix vm_object token deadlock
* vm_page_alloc() needs an exclusive vm_object token when recycling
random cache pages into the free queue. Because these are effectively
random pages it is possible for this exclusive token to interfere
with a shared token already held by the thread.
* Make sure we can actually get the token. If we cannot we deactivate
the page instead.
Summary of changes:
sys/vm/vm_page.c | 20 ++++++++++++++++++--
1 files changed, 18 insertions(+), 2 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/bdea739c3640a6c0dad2c22379358730d1c512c9
--
DragonFly BSD source repository