1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-16 10:20:30 +00:00
freebsd/sys
Jeff Roberson c5aa6b581d - Pass the priority argument from *sleep() into sleepq and down into
sched_sleep().  This removes extra thread_lock() acquisition and
   allows the scheduler to decide what to do with the static boost.
 - Change the priority arguments to cv_* to match sleepq/msleep/etc.
   where 0 means no priority change.  Catch -1 in cv_broadcastpri() and
   convert it to 0 for now.
 - Set a flag when sleeping in a way that is compatible with swapping
   since direct priority comparisons are meaningless now.
 - Add a sysctl to ule, kern.sched.static_boost, that defaults to on which
   controls the boost behavior.  Turning it off gives better performance
   in some workloads but needs more investigation.
 - While we're modifying sleepq, change signal and broadcast to both
   return with the lock held as the lock was held on enter.

Reviewed by:	jhb, peter
2008-03-12 06:31:06 +00:00
..
amd64 Style(9) these files. No changes in the compiled code. (Verified by 2008-03-11 21:41:36 +00:00
arm MFi386: 2008-03-06 22:27:35 +00:00
boot Change the BTX kernel to drop all the way out to real mode to invoke BIOS 2008-03-10 21:43:31 +00:00
bsm
cam
cddl
compat Return ENOSYS instead of 0 for the unknown futex operations. 2008-03-02 14:00:50 +00:00
conf Update file list and Makefile after repocopying vr(4) from 2008-03-11 03:50:57 +00:00
contrib
crypto
ddb Add a /S mode to DDB "ex" command, which interprets and prints the 2008-03-07 18:09:07 +00:00
dev Don't enable the workaround for the jitter bug on the 5722. 2008-03-11 15:05:54 +00:00
fs Replace lockmgr lock protecting nwfs vnode hash table with an sx lock. 2008-03-02 19:02:30 +00:00
gdb
geom Add support for VTOC8 labels (aka sun disk labels). When a label does 2008-03-02 00:52:49 +00:00
gnu
i4b
i386 Style(9) these files. No changes in the compiled code. (Verified by 2008-03-11 21:41:36 +00:00
ia64 - Remove the old smp cpu topology specification with a new, more flexible 2008-03-02 07:58:42 +00:00
isa
kern - Pass the priority argument from *sleep() into sleepq and down into 2008-03-12 06:31:06 +00:00
libkern
modules Update file list and Makefile after repocopying vr(4) from 2008-03-11 03:50:57 +00:00
net Improve convergence of bpf_filter.c toward style(9). 2008-03-09 21:13:43 +00:00
net80211
netatalk
netatm
netgraph Improve apply callback error reporting: 2008-03-11 21:58:48 +00:00
netinet Padding after EOL option must be zeros according to RFC793 but 2008-03-09 13:26:50 +00:00
netinet6
netipsec Fix bugs when allocating and passing information of current lifetime and 2008-03-02 17:12:28 +00:00
netipx
netnatm
netncp
netsmb Remove unused vc_tnode field from struct smb_vc. 2008-03-10 14:55:34 +00:00
nfs
nfs4client
nfsclient Expand the nfs_opts array to include all possible string 2008-03-05 10:09:29 +00:00
nfsserver Fix the Giant leak in the nfsrv_remove(). 2008-03-04 11:05:03 +00:00
opencrypto
pc98 MFi386: revision 1.482. 2008-03-10 12:25:04 +00:00
pccard
pci vr(4) was repocopied to src/sys/dev/vr. 2008-03-11 03:53:53 +00:00
powerpc In intr_lookup(), when adding an IRQ to powerpc_intrs[], also 2008-03-11 19:58:52 +00:00
rpc
security Remove XXX to remind me to check the free space calculation, which to my 2008-03-10 18:15:02 +00:00
sparc64 Uncomment vr(4), vr(4) should work on all architectures. 2008-03-11 05:09:03 +00:00
sun4v - Rather than repeating the same preemption code everywhere call the scheduler 2008-03-10 01:32:48 +00:00
sys - Pass the priority argument from *sleep() into sleepq and down into 2008-03-12 06:31:06 +00:00
tools
ufs Remove include of opt_quota.h; as of revision 1.205 there is no longer 2008-03-10 18:44:07 +00:00
vm - Pass the priority argument from *sleep() into sleepq and down into 2008-03-12 06:31:06 +00:00
Makefile