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

cvs commit: src/sys/kern subr_taskqueue.c


From: Simon Schubert <corecode@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Sat, 24 Mar 2007 05:24:58 -0700 (PDT)

corecode    2007/03/24 05:24:58 PDT

DragonFly src repository

  Modified files:        (Branch: DragonFly_RELEASE_1_8)
    sys/kern             subr_taskqueue.c 
  Log:
  MFC: Fix taskqueues to truely work on SMP systems.
  
  The taskqueue_task_td threads were created with kthread_create(), which
  defaults to creating the thread on the current CPU.  Achieve correct
  operation by using lwkt_create(), which allows specification of the
  CPU the thread should run on.
  
  Add a comment about the suggested usage of task structures.
  
  Revision  Changes    Path
  1.11.2.1  +9 -2      src/sys/kern/subr_taskqueue.c


http://www.dragonflybsd.org/cvsweb/src/sys/kern/subr_taskqueue.c.diff?r1=1.11&r2=1.11.2.1&f=u



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