cvs commit: src/sys/kern subr_trap.c

Jeff Roberson jeff at FreeBSD.org
Sat Dec 25 23:30:37 PST 2004


jeff        2004-12-26 07:30:36 UTC

  FreeBSD src repository

  Modified files:
    sys/kern             subr_trap.c 
  Log:
   - 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.
  
  Revision  Changes    Path
  1.277     +4 -5      src/sys/kern/subr_trap.c


More information about the cvs-src mailing list