git: kernel - Fix hold race and catch bad vm_object terminations

看板DFBSD_commit作者時間14年前 (2011/05/17 07:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
commit 34542daf57322ec6f265a100ebefb24a1805688b Author: Matthew Dillon <dillon@apollo.backplane.com> Date: Fri Apr 15 08:32:56 2011 -0700 kernel - Fix hold race and catch bad vm_object terminations * vm_object_hold_wait() currently also needs the vm_token to safely test rb_memq. * Add code to complain if a VM object's rb_memq is not empty when the object is being terminated. Summary of changes: sys/vm/swap_pager.c | 3 +++ sys/vm/vm_object.c | 21 +++++++++++++++++++-- 2 files changed, 22 insertions(+), 2 deletions(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/34542daf57322ec6f265a100ebefb24a1805688b -- DragonFly BSD source repository
文章代碼(AID): #1DqRGKUF (DFBSD_commit)