cvs commit: src/sys/sys _task.h taskqueue.h src/sys/kern subr_taskqueue.c

Sam Leffler sam at FreeBSD.org
Sun Apr 24 09:52:46 PDT 2005


sam         2005-04-24 16:52:45 UTC

  FreeBSD src repository

  Modified files:
    sys/sys              _task.h taskqueue.h 
    sys/kern             subr_taskqueue.c 
  Log:
  o eliminate modification of task structures after their run to avoid
    modify-after-free races when the task structure is malloc'd
  o shrink task structure by removing ta_flags (no longer needed with
    avoid fix) and combining ta_pending and ta_priority
  
  Reviewed by:    dwhite, dfr
  MFC after:      4 days
  
  Revision  Changes    Path
  1.26      +4 -3      src/sys/kern/subr_taskqueue.c
  1.4       +2 -5      src/sys/sys/_task.h
  1.13      +0 -1      src/sys/sys/taskqueue.h


More information about the cvs-src mailing list