git: kernel - Fix vm_object token deadlock

看板DFBSD_commit作者時間14年前 (2011/12/28 02:04), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
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
文章代碼(AID): #1E-WYPZs (DFBSD_commit)