Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Jan 2006 22:22:10 +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/i386/i386 trap.c src/sys/amd64/amd64 trap.c
Message-ID:  <200601272222.k0RMMAoR062022@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
jhb         2006-01-27 22:22:10 UTC

  FreeBSD src repository

  Modified files:
    sys/i386/i386        trap.c 
    sys/amd64/amd64      trap.c 
  Log:
  Call WITNESS_CHECK() in the page fault handler and immediately assume it
  is a fatal fault if we are holding any non-sleepable locks.  This should
  cut down on the number of bogus LORs we currently get when the kernel
  panics due to a NULL (or bogus) pointer dereference that goes wandering
  off into the VM system which tries to acquire locks and then kicks off
  the spurious LORs.  This should probably be ported to all the archs at
  some point.
  
  Tested on:      i386
  
  Revision  Changes    Path
  1.300     +9 -1      src/sys/amd64/amd64/trap.c
  1.287     +11 -3     src/sys/i386/i386/trap.c



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