DragonFly BSD
DragonFly commits List (threaded) for 2004-02
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: cvs commit: src/sys/kern lwkt_token.c vfs_subr.c src/sys/sys thread.h thread2.h


From: David Rhodus <drhodus@xxxxxxxxxxx>
Date: Tue, 10 Feb 2004 08:11:27 -0500

Should there be any noticeable performance increase with
this commit ?

-DR
On Feb 10, 2004, at 2:34 AM, Matthew Dillon wrote:

dillon 2004/02/09 23:34:43 PST

DragonFly src repository

Modified files:
sys/kern lwkt_token.c vfs_subr.c
sys/sys thread.h thread2.h
Log:
Use a globaldata_t instead of a cpuid in the lwkt_token structure. The
LWKT subsystem already uses globaldata_t instead of cpuid for its thread
td_gd reference, and the IPI messaging code will soon be converted to take
a globaldata_t instead of a cpuid as well. This reduces the number of
memory indirections we have to make to access the per-cpu globaldata space
in various procedures.


  Revision  Changes    Path
  1.2       +26 -27    src/sys/kern/lwkt_token.c
  1.25      +2 -0      src/sys/kern/vfs_subr.c
  1.41      +2 -2      src/sys/sys/thread.h
  1.12      +1 -1      src/sys/sys/thread2.h


http://www.dragonflybsd.org/cvsweb/src/sys/kern/lwkt_token.c.diff? r1=1.1&r2=1.2&f=h
http://www.dragonflybsd.org/cvsweb/src/sys/kern/vfs_subr.c.diff? r1=1.24&r2=1.25&f=h
http://www.dragonflybsd.org/cvsweb/src/sys/sys/thread.h.diff? r1=1.40&r2=1.41&f=h
http://www.dragonflybsd.org/cvsweb/src/sys/sys/thread2.h.diff? r1=1.11&r2=1.12&f=h




[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]