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

Matthew Dillon dillon at crater.dragonflybsd.org
Mon Feb 9 23:35:05 PST 2004


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





More information about the Commits mailing list