Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 24 Apr 2005 16:52:45 +0000 (UTC)
From:      Sam Leffler <sam@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/sys _task.h taskqueue.h src/sys/kern subr_taskqueue.c
Message-ID:  <200504241652.j3OGqjcr000905@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200504241652.j3OGqjcr000905>