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

cvs commit: src/sys/conf files src/sys/kern lwkt_ipiq.c lwkt_thread.c src/sys/sys globaldata.h thread.h

From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Sat, 14 Feb 2004 18:14:42 -0800 (PST)

dillon      2004/02/14 18:14:42 PST

DragonFly src repository

  Modified files:
    sys/conf             files 
    sys/kern             lwkt_thread.c 
    sys/sys              globaldata.h thread.h 
  Added files:
    sys/kern             lwkt_ipiq.c 
  Split the IPIQ messaging out of lwkt_thread.c and move it to its own file,
  Add a MI synchronous cpu rendezvous API lwkt_cpusync_*().  This API allows the
  kernel to synchronize an operation across any number of cpus.  Multiple cpus
  can initiate synchronization operations simultaniously without creating a
  deadlock.  The API utilizes the IPI messaging core and guarentees that
  other synchronization and IPI messaging operations will continue to work
  during any given synchronization op.  The API is a spin-blocking API, meaning
  that it will not switch threads and can be used by mainline code, interrupts,
  and other sensitive code.
  This API is intended to replace smp_rendezvous(), Xcpustop, and other
  hardwired IPI ops.  It will also be used to fix our TLB shootdown code.
  As of this commit the API has not yet been connected to anything and has
  been tested only a little.
  Revision  Changes    Path
  1.49      +1 -0      src/sys/conf/files
  1.54      +0 -224    src/sys/kern/lwkt_thread.c
  1.25      +2 -1      src/sys/sys/globaldata.h
  1.44      +23 -2     src/sys/sys/thread.h


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