diff options
author | jhb <jhb@FreeBSD.org> | 2011-01-14 17:06:54 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2011-01-14 17:06:54 +0000 |
commit | b92da6d9e230dcfd668f375fdb6ea6d66d69a1da (patch) | |
tree | ec8cec98b0e1b31de4d001513ee1a1ead145528f /sys/libkern/strncpy.c | |
parent | a8f14f7c92063bb4b5e271afb698921204865fbc (diff) | |
download | FreeBSD-src-b92da6d9e230dcfd668f375fdb6ea6d66d69a1da.zip FreeBSD-src-b92da6d9e230dcfd668f375fdb6ea6d66d69a1da.tar.gz |
Rework realtime priority support:
- Move the realtime priority range up above kernel sleep priorities and
just below interrupt thread priorities.
- Contract the interrupt and kernel sleep priority ranges a bit so that
the timesharing priority band can be increased. The new timeshare range
is now slightly larger than the old realtime + timeshare ranges.
- Change the ULE scheduler to no longer use realtime priorities for
interactive threads. Instead, the larger timeshare range is now split
into separate subranges for interactive and non-interactive ("batch")
threads. The end result is that interactive threads and non-interactive
threads still use the same priority ranges as before, but realtime
threads now have a separate, dedicated priority range.
- Do not modify the priority of non-timeshare threads in sched_sleep()
or via cv_broadcastpri(). Realtime and idle priority threads will
no longer have their priorities affected by sleeping in the kernel.
Reviewed by: jeff
Diffstat (limited to 'sys/libkern/strncpy.c')
0 files changed, 0 insertions, 0 deletions