cvs commit: src/sys/kern subr_taskqueue.c

Simon Schubert corecode at crater.dragonflybsd.org
Sat Mar 24 05:25:46 PDT 2007


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





More information about the Commits mailing list