K 10 svn:author V 7 delphij K 8 svn:date V 27 2005-01-30T13:37:25.000000Z K 7 svn:log V 666 MFC revision 1.277 date: 2004/12/26 07:30:35; author: jeff; state: Exp; lines: +4 -5 - Run sched_userret() after thread_userret(). Before, sched_userret() would lower the priority of the returning thread to a user priority before calling into thread_userret() which would call wakeup() which in turn would cause the returning thread to eventually context switch rather than completing its slice. Allowing this thread to complete its slice first yields a 15% performance improvement in super-smack on my dual opteron with 4BSD. This commit also containes rev. 1.278's style change. I've been running RELENG_5 with this change for two weeks. END