1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-20 11:11:24 +00:00
freebsd/sys
Jeff Roberson 3f741ca117 - Use a better algorithm in sched_pctcpu_update()
Contributed by:	Thomaswuerfl@gmx.de

 - In sched_prio(), adjust the run queue for threads which may need to move
   to the current queue due to priority propagation .
 - In sched_switch(), fix style bug introduced when the KSE support went in.
   Columns are 80 chars wide, not 90.
 - In sched_switch(), Fix the comparison in the idle case and explicitly
   re-initialize the runq in the not propagated case.
 - Remove dead code in sched_clock().
 - In sched_clock(), If we're an IDLE class td set NEEDRESCHED so that threads
   that have become runnable will get a chance to.
 - In sched_runnable(), if we're not the IDLETD, we should not consider
   curthread when examining the load.  This mimics the 4BSD behavior of
   returning 0 when the only runnable thread is running.
 - In sched_userret(), remove the code for setting NEEDRESCHED entirely.
   This is not necessary and is not implemented in 4BSD.
 - Use the correct comparison in sched_add() when checking to see if an idle
   prio task has had it's priority temporarily elevated.
2003-10-27 06:47:05 +00:00
..
alpha
amd64 A few whitespace and comment tweaks. 2003-10-24 21:02:26 +00:00
arm
boot
cam In camperiphdone(), make sure we check for fatal errors and bail out 2003-10-27 06:15:55 +00:00
coda
compat
conf Fix style problems with new options. 2003-10-27 02:42:08 +00:00
contrib
crypto
ddb
dev const char ** needs to be passed, not char **. 2003-10-27 06:41:40 +00:00
fs
geom
gnu
i4b
i386 Call the VESA reset BIOS vector on the resume path. This may help displays 2003-10-27 06:26:51 +00:00
ia64 Add support for userland to access I/O port space. This is primarily 2003-10-27 05:45:35 +00:00
isa
isofs/cd9660
kern - Use a better algorithm in sched_pctcpu_update() 2003-10-27 06:47:05 +00:00
libkern
modules
net Delay if_lo module intialization until domain list has been 2003-10-27 04:16:32 +00:00
net80211
netatalk
netatm
netgraph
netinet revert following unwanted changes: 2003-10-25 10:57:08 +00:00
netinet6 re-add wrongly disappered IPV6_CHECKSUM stuff by introducing 2003-10-26 18:17:01 +00:00
netipsec
netipx
netkey
netnatm
netncp
netsmb
nfs
nfsclient
nfsserver
opencrypto
pc98
pccard
pci
posix4
powerpc
rpc
security Make MAC_EXTERNALIZE() and MAC_INTERNALIZE() simply take the object 2003-10-25 15:28:20 +00:00
sparc64
sys constify bintime_add, bintime_sub, bintime2timespec, timespec2bintime, 2003-10-26 02:38:34 +00:00
tools
ufs
vm - Complete the synchronization of accesses to the swblock hash table. 2003-10-27 05:58:15 +00:00
Makefile