git: dsched - Add debugging & fix rare problem conditions
alexh at crater.dragonflybsd.org
Sat Aug 27 03:36:18 PDT 2011
Author: Alex Hornung <ahornung at gmail.com>
Date: Sat Aug 27 10:51:24 2011 +0000
dsched - Add debugging & fix rare problem conditions
* Add a bunch of debugging to see whether a particular tdio was
initialized and to which policy it belongs.
* Reorder some locking to ensure the whole switch of policy is
protected as expected.
* Make sure the tdio from the newest policy is used when there
are tdios for several scheduling policies in the tdctx->tdio_list.
Reported-by: Brills Peng
Summary of changes:
sys/kern/kern_dsched.c | 33 +++++++++++++++++++++++++++++----
sys/sys/dsched.h | 7 +++++++
2 files changed, 36 insertions(+), 4 deletions(-)
DragonFly BSD source repository
More information about the Commits