cvs commit: src/sys/i386/i386 trap.c vm_machdep.c src/sys/i386/isa intr_machdep.c src/sys/kern kern_resource.c kern_sig.c kern_switch.c kern_synch.c kern_time.c lwkt_msgport.c lwkt_thread.c src/sys/sys proc.h thread.h thread2.h
Matthew Dillon
dillon at crater.dragonflybsd.org
Sat Apr 10 13:56:07 PDT 2004
dillon 2004/04/10 13:55:24 PDT
DragonFly src repository
Modified files:
sys/i386/i386 trap.c vm_machdep.c
sys/i386/isa intr_machdep.c
sys/kern kern_resource.c kern_sig.c kern_switch.c
kern_synch.c kern_time.c lwkt_msgport.c
lwkt_thread.c
sys/sys proc.h thread.h thread2.h
Log:
Do some minor critical path performance improvements in the scheduler
and at the user/system boundary. Avoid some unnecessary segment prefix ops,
remove some unnecessary memory ops by using more optimal critical
section inlines, and use 32 bit arithmatic instead of 64 bit arithmatic
when calculating system tick overheads in userret().
This saves a whopping 5ns worth of syscall overhead, which just proves
how silly I am sometimes.
Revision Changes Path
1.49 +41 -38 src/sys/i386/i386/trap.c
1.29 +3 -3 src/sys/i386/i386/vm_machdep.c
1.22 +6 -3 src/sys/i386/isa/intr_machdep.c
1.19 +4 -3 src/sys/kern/kern_resource.c
1.29 +2 -2 src/sys/kern/kern_sig.c
1.21 +4 -4 src/sys/kern/kern_switch.c
1.32 +23 -47 src/sys/kern/kern_synch.c
1.15 +6 -5 src/sys/kern/kern_time.c
1.18 +6 -5 src/sys/kern/lwkt_msgport.c
1.59 +80 -80 src/sys/kern/lwkt_thread.c
1.48 +1 -1 src/sys/sys/proc.h
1.51 +2 -2 src/sys/sys/thread.h
1.14 +12 -0 src/sys/sys/thread2.h
http://www.dragonflybsd.org/cvsweb/src/sys/i386/i386/trap.c.diff?r1=1.48&r2=1.49&f=h
http://www.dragonflybsd.org/cvsweb/src/sys/i386/i386/vm_machdep.c.diff?r1=1.28&r2=1.29&f=h
http://www.dragonflybsd.org/cvsweb/src/sys/i386/isa/intr_machdep.c.diff?r1=1.21&r2=1.22&f=h
http://www.dragonflybsd.org/cvsweb/src/sys/kern/kern_resource.c.diff?r1=1.18&r2=1.19&f=h
http://www.dragonflybsd.org/cvsweb/src/sys/kern/kern_sig.c.diff?r1=1.28&r2=1.29&f=h
http://www.dragonflybsd.org/cvsweb/src/sys/kern/kern_switch.c.diff?r1=1.20&r2=1.21&f=h
http://www.dragonflybsd.org/cvsweb/src/sys/kern/kern_synch.c.diff?r1=1.31&r2=1.32&f=h
http://www.dragonflybsd.org/cvsweb/src/sys/kern/kern_time.c.diff?r1=1.14&r2=1.15&f=h
http://www.dragonflybsd.org/cvsweb/src/sys/kern/lwkt_msgport.c.diff?r1=1.17&r2=1.18&f=h
http://www.dragonflybsd.org/cvsweb/src/sys/kern/lwkt_thread.c.diff?r1=1.58&r2=1.59&f=h
http://www.dragonflybsd.org/cvsweb/src/sys/sys/proc.h.diff?r1=1.47&r2=1.48&f=h
http://www.dragonflybsd.org/cvsweb/src/sys/sys/thread.h.diff?r1=1.50&r2=1.51&f=h
http://www.dragonflybsd.org/cvsweb/src/sys/sys/thread2.h.diff?r1=1.13&r2=1.14&f=h
More information about the Commits
mailing list