cvs commit: src/sys/kern subr_turnstile.c

John Baldwin jhb at FreeBSD.org
Mon Sep 8 21:40:23 UTC 2008


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


More information about the cvs-src mailing list