Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 1 Dec 2007 11:28:38 +0000 (UTC)
From:      Attilio Rao <attilio@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/kern kern_mutex.c kern_rwlock.c
Message-ID:  <200712011128.lB1BScWA098049@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
attilio     2007-12-01 11:28:38 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_7)
    sys/kern             kern_mutex.c kern_rwlock.c 
  Log:
  MFC kern_mutex.c rev. 1.201 and kern_rwlock.c rev. 1.32:
  Simplify adaptive spinning algorithm which should make things faster
  when sleeping / waking up waiters.
  Also fix a bug with rw_try_upgrade() when adaptive spinning is enabled
  as turnstile_lookup() will recurse on ts_lock that will never be
  released [1].
  
  [1] Reported by: jeff with Nokia help
  Tested by: pho, kris (earlier, bugged version of rwlock part)
  Discussed with: jhb, jeff
  Approved by: re
  
  Revision   Changes    Path
  1.198.2.1  +41 -29    src/sys/kern/kern_mutex.c
  1.28.4.2   +72 -112   src/sys/kern/kern_rwlock.c



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