git: kernel - SWAP CACHE part 22/many - Fix counter overflow int

看板DFBSD_commit作者時間16年前 (2010/02/22 11:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
commit fdc53cc7c5e423755fd5e68cf77e4cb58ce34679 Author: Matthew Dillon <dillon@apollo.backplane.com> Date: Sun Feb 21 18:33:43 2010 -0800 kernel - SWAP CACHE part 22/many - Fix counter overflow introduced in part 21 * vm_swapcache_inactive_heuristic can overflow, making it extremely negative and causing swapcache writing to cease for a long period of time. * Two-in-one fix. Check if it is too negative and reset it. This also automatically adjusts the heuristic if the sysop manually changes the hysteresis to a smaller value. Summary of changes: sys/vm/vm_swapcache.c | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/fdc53cc7c5e423755fd5e68cf77e4cb58ce34679 -- DragonFly BSD source repository
文章代碼(AID): #1BWVDs1H (DFBSD_commit)