summaryrefslogtreecommitdiff
path: root/solaris/pkginfo.tmpl.in
diff options
context:
space:
mode:
authorpaul <paul>2005-11-14 12:07:47 +0000
committerpaul <paul>2005-11-14 12:07:47 +0000
commit190880dc790007a14911ef8c170af33a50a7a674 (patch)
tree8de89e02883f522cd5d730a416ce771fd2f23ed2 /solaris/pkginfo.tmpl.in
parent31a5976bb99f1875ebcfc29a6359f3a7ae81a795 (diff)
2005-11-14 Paul Jakma <paul.jakma@sun.com>
* (general) Add state to detect queue floods. There's no sense trying to be sparing of CPU resources, if the queue is flooding and using ever more memory resources. we should just get on with clearing the queue. The sense of delay and hold were wrong way around, fix. * workqueue.h: (struct work_queue) Add status bitfield. Add 'flood' integer to workqueue spec. Add runs_since_clear counter to workqueue. * workqueue.c: (work_queue_new) set defaults for delay, hold and flood. (work_queue_add) initial schedule should use delay, not hold. (show_work_queues) Print flood field, conserve whitespace. (work_queue_unplug) use delay, not hold. (work_queue_run) consecutive runs should be seperated by hold time, not delay. Keep track of number of consecutive runs, go into 'overdrive' if queue is being flooded, we can't avoid making heavy use of resources, better to use CPU than ever more RAM.
Diffstat (limited to 'solaris/pkginfo.tmpl.in')
0 files changed, 0 insertions, 0 deletions