Date: Fri, 28 May 2010 18:15:28 +0000 (UTC) From: Zachary Loafman <zml@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/kern subr_taskqueue.c src/sys/sys _task.h taskqueue.h Message-ID: <201005281815.o4SIFhLB088212@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
zml 2010-05-28 18:15:28 UTC FreeBSD src repository Modified files: sys/kern subr_taskqueue.c sys/sys _task.h taskqueue.h Log: SVN rev 208623 on 2010-05-28 18:15:28Z by zml Revert r207439 and solve the problem differently. The task handler ta_func may free the task structure, so no references to its members are valid after the handler has been called. Using a per-queue member and having waits longer than strictly necessary was suggested by jhb. Submitted by: Matthew Fleming <matthew.fleming@isilon.com> Reviewed by: zml, jhb Revision Changes Path 1.54 +5 -6 src/sys/kern/subr_taskqueue.c 1.8 +0 -2 src/sys/sys/_task.h 1.24 +0 -1 src/sys/sys/taskqueue.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201005281815.o4SIFhLB088212>