Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Oct 2008 12:42:56 +0000 (UTC)
From:      Attilio Rao <attilio@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/sys/kern subr_witness.c
Message-ID:  <200810161243.m9GCh1Hf026120@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
attilio     2008-10-16 12:42:56 UTC

  FreeBSD src repository

  Modified files:
    sys/kern             subr_witness.c 
  Log:
  SVN rev 183955 on 2008-10-16 12:42:56Z by attilio
  
  - Fix a race in witness_checkorder() where, between the PCPU_GET() and
    PCPU_PTR() curthread can migrate on another CPU and get incorrect
    results.
  - Fix a similar race into witness_warn().
  - Fix the interlock's checks bypassing by correctly using the appropriate
    children even when the lock_list chunk to be explored is not the first
    one.
  - Allow witness_warn() to work with spinlocks too.
  
  Bugs found by:  tegge
  Submitted by:   jhb, tegge
  Tested by:      Giovanni Trematerra <giovanni dot trematerra at gmail dot com>
  
  Revision  Changes    Path
  1.259     +52 -30    src/sys/kern/subr_witness.c



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