Date: Mon, 8 Sep 2008 21:40:15 +0000 (UTC) From: John Baldwin <jhb@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern subr_turnstile.c Message-ID: <200809082140.m88LeNJW085481@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
jhb 2008-09-08 21:40:15 UTC
FreeBSD src repository
Modified files:
sys/kern subr_turnstile.c
Log:
SVN rev 182879 on 2008-09-08 21:40:15Z by jhb
- Reduce scope of #ifdef's in uma_zcreate() call in init_turnstile0().
- Set UMA_ZONE_NOFREE so that the per-turnstile spin locks are type stable
to avoid a race where one thread might dereference a lock in a free'd
turnstile that was previously used by another thread.
Theorized by: tegge (2)
MFC after: 1 week
Revision Changes Path
1.174 +4 -3 src/sys/kern/subr_turnstile.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200809082140.m88LeNJW085481>
