git: dsched_fq - Fix some issues, sprinkle some asserts

看板DFBSD_commit作者時間16年前 (2010/04/16 04:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
commit 38f2331ec4848304a597729bf412df277e3c5f00 Author: Alex Hornung <ahornung@gmail.com> Date: Fri Apr 9 17:52:23 2010 +0000 dsched_fq - Fix some issues, sprinkle some asserts * Add some strategic KKASSERT to catch negative values where they aren't allowed. * Avoid certain race conditions by using a local variable instead of using the generally accessible one (budget vs dpriv->budgetpb). Only set the final value once we are ready. Summary of changes: sys/dsched/fq/dsched_fq_core.c | 15 +++++++++------ sys/dsched/fq/dsched_fq_diskops.c | 1 + 2 files changed, 10 insertions(+), 6 deletions(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/38f2331ec4848304a597729bf412df277e3c5f00 -- DragonFly BSD source repository
文章代碼(AID): #1BntVA9Z (DFBSD_commit)