freebsd-dev/sys
Randall Stewart 9b355dc71d MFC of 204670:
-------------------------
sched_getparam was just plain broke for time-share
processes. It did not return an error but instead
just let garbage be passed back. This I fix so
it actually properly translates the priority the
process is at to a posix's high means more priority.
I also fix it so that if the ULE scheduler has bumped
it up to a realtime process you get back a sane value
i.e. the highest priority (63 for time-share).

sched_setscheduler() had the setting of the
timeshare class priority disabled. With some notes
about rejecting the posix high numbers is greater
priority and use nice instead. This fix also
adjusts that to work, with the cavet that a t-s
process may well get bumped up or down i.e. the
setscheduler() will NOT change the nice value only
the current priority. I think this is reasonable
considering if the user wants to play with nice then
he can. At least all the posix'ish interfaces now
respond sanely.
-----------------------
2010-04-05 13:33:54 +00:00
..
amd64 MFC r203289,r203367 2010-04-04 15:42:52 +00:00
arm MFC rev 198341 and 198342: 2010-03-31 02:43:58 +00:00
boot MFC: r204152, r204164 2010-03-31 21:32:52 +00:00
bsm Merge r197624 from head to stable/8: 2009-12-14 00:15:56 +00:00
cam MFC r204354: 2010-03-01 19:36:19 +00:00
cddl MFC rev 199727, 200888, 201031, 202904, 203054, 203106, 203572, 203884, 2010-03-31 05:05:28 +00:00
compat MFC: r205297, r205347, r205452, r205455, r205649, r205650 2010-03-31 15:32:36 +00:00
conf MFC rev 199727, 200888, 201031, 202904, 203054, 203106, 203572, 203884, 2010-03-31 05:05:28 +00:00
contrib MFC r201818: 2010-03-27 15:02:28 +00:00
crypto Changed to M_NOWAIT when reallocing psc_buf in padlock_sha_update(), 2009-05-27 09:52:12 +00:00
ddb MFC r199355: 2009-12-19 12:06:12 +00:00
dev MFC r205120,r205126 2010-04-04 15:46:46 +00:00
fs MFC r197680: 2010-03-27 17:22:11 +00:00
gdb
geom MFC r199875: 2010-03-27 18:04:33 +00:00
gnu MFC a number of changes from head for ISP (203478,203463,203444,202418,201758, 2010-02-11 18:34:06 +00:00
i386 MFC r203289,r203367 2010-04-04 15:42:52 +00:00
ia64 MFC rev 199727, 200888, 201031, 202904, 203054, 203106, 203572, 203884, 2010-03-31 05:05:28 +00:00
isa MFC x86emu/x86bios emulator and make previously i386 only dpms and vesa 2010-03-02 01:56:55 +00:00
kern MFC of 204670: 2010-04-05 13:33:54 +00:00
kgssapi When the KOBJMETHOD() macro was updated, it resulted in the 2009-06-14 17:33:46 +00:00
libkern MFC r199208, r199223: 2009-11-22 16:04:49 +00:00
mips MFC rev 198341 and 198342: 2010-03-31 02:43:58 +00:00
modules MFC rev 199727, 200888, 201031, 202904, 203054, 203106, 203572, 203884, 2010-03-31 05:05:28 +00:00
net MFC 205222 2010-04-02 05:12:46 +00:00
net80211 MFC r203673: 2010-02-22 17:10:47 +00:00
netatalk Merge r196121 from head to stable/8: 2009-08-13 14:50:39 +00:00
netgraph Merge r205082, r205083 that fix 'netstat -f netgraph' functionality. 2010-04-02 11:07:55 +00:00
netinet MFC 204902 2010-04-02 05:02:50 +00:00
netinet6 MFC r205637: 2010-04-02 17:52:50 +00:00
netipsec MFC r205789: 2010-04-02 17:48:01 +00:00
netipx Use queue(9) instead of hand-crafted link lists for the global IPX 2009-06-24 20:57:50 +00:00
netnatm Reimplement the netisr framework in order to support parallel netisr 2009-06-01 10:41:38 +00:00
netncp
netsmb Rework socket upcalls to close some races with setup/teardown of upcalls. 2009-06-01 21:17:03 +00:00
nfs MFC: r203731 2010-03-30 19:52:45 +00:00
nfsclient MFC: r203731 2010-03-30 19:52:45 +00:00
nfsserver - Factor out the code shared between NFS client and server into its own 2010-02-22 21:45:20 +00:00
nlm MFC: revision 197730 2009-10-07 14:14:05 +00:00
opencrypto MFC r201898: 2010-01-17 13:36:13 +00:00
pc98 MFC r204641, r204753: 2010-03-30 11:19:29 +00:00
pci MFC a number of changes from head for ISP (203478,203463,203444,202418,201758, 2010-02-11 18:34:06 +00:00
powerpc MFC r204694,204719,205370 2010-04-01 13:27:27 +00:00
rpc MFC r201853: 2010-03-04 19:35:22 +00:00
security MFC r201438: 2010-03-27 15:05:06 +00:00
sparc64 MFC: r205269 2010-04-04 14:57:46 +00:00
sun4v MFC rev 198341 and 198342: 2010-03-31 02:43:58 +00:00
sys MFC r197680: 2010-03-27 17:22:11 +00:00
tools MFC: Allow KMOD with hypens and dots. 2009-11-02 09:47:15 +00:00
ufs MFC of 203763, 203764, 203768, 203769, 203770, 203782, and 203784. 2010-02-26 21:49:11 +00:00
vm MFC rev 198341 and 198342: 2010-03-31 02:43:58 +00:00
xdr MFC r196149: 2009-08-12 20:30:27 +00:00
xen MFC a number of changes from head for ISP (203478,203463,203444,202418,201758, 2010-02-11 18:34:06 +00:00
Makefile Remove the unmaintained University of Michigan NFSv4 client from 8.x 2009-05-22 12:35:12 +00:00