Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 Feb 2010 14:56:10 +0000 (UTC)
From:      Attilio Rao <attilio@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/sys/kern kern_mutex.c sched_4bsd.c sched_ule.c
Message-ID:  <201002091456.o19EuMxu024108@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
attilio     2010-02-09 14:56:10 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_7)
    sys/kern             kern_mutex.c sched_4bsd.c sched_ule.c 
  Log:
  SVN rev 203704 on 2010-02-09 14:56:10Z by attilio
  
  MFC r202889, r202940:
  - Fix a race in sched_switch() of sched_4bsd.
    Block the td_lock when acquiring explicitly sched_lock in order to prevent
    races with other td_lock contenders.
  - Merge the ULE's internal function thread_block_switch() into the global
    thread_lock_block() and make the former semantic as the default for
    thread_lock_block().
  - Split out an invariant in order to have better checks.
  
  Tested by:      Giovanni Trematerra
                  <giovanni dot trematerra at gmail dot com>
  Approved by:    re (kib)
  
  Revision    Changes    Path
  1.198.2.5   +0 -2      src/sys/kern/kern_mutex.c
  1.106.2.9   +9 -4      src/sys/kern/sched_4bsd.c
  1.214.2.12  +6 -21     src/sys/kern/sched_ule.c



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