git: HAMMER VFS - Ensure sufficient free memory is available bef

看板DFBSD_commit作者時間16年前 (2010/03/05 08:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
commit c652be54ae5f31f13eb03acfa533b9228843a7c0 Author: Matthew Dillon <dillon@apollo.backplane.com> Date: Thu Mar 4 16:06:53 2010 -0800 HAMMER VFS - Ensure sufficient free memory is available before large allocation * The HAMMER rebalancing code can be a heavy user of kernel memory when collecting B-Tree nodes to rebalance. Call the new vm_wait_nominal() function before allocating said memory in an attempt to avoid VM/VFS deadlocks when memory is low. Reported-by: Francois Tigeot <ftigeot@wolfpond.org> Summary of changes: sys/vfs/hammer/hammer.h | 1 + sys/vfs/hammer/hammer_rebalance.c | 6 ++++++ 2 files changed, 7 insertions(+), 0 deletions(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/c652be54ae5f31f13eb03acfa533b9228843a7c0 -- DragonFly BSD source repository
文章代碼(AID): #1Ba546mr (DFBSD_commit)