Date: Fri, 25 Feb 2011 22:03:28 +0000 (UTC) From: Dmitry Chagin <dchagin@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/kern kern_ktrace.c Message-ID: <201102252203.p1PM3kpe064201@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
dchagin 2011-02-25 22:03:28 UTC FreeBSD src repository Modified files: sys/kern kern_ktrace.c Log: SVN rev 219041 on 2011-02-25 22:03:28Z by dchagin ktrace_resize_pool() locking slightly reworked: 1) do not take a lock around the single atomic operation. 2) do not lose the invariant of lock by dropping/acquiring ktrace_mtx around free() or malloc(). MFC after: 1 Month. Revision Changes Path 1.138 +16 -18 src/sys/kern/kern_ktrace.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201102252203.p1PM3kpe064201>