Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Dec 2000 17:14:33 -0800 (PST)
From:      Jake Burkholder <jake@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/conf files src/sys/sys mutex.h src/sys/kern kern_mutex.c src/sys/i386/i386 trap.c src/sys/ia64/ia64 trap.c src/sys/alpha/alpha trap.c
Message-ID:  <200012120114.eBC1EXs04634@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
jake        2000/12/11 17:14:33 PST

  Modified files:
    sys/conf             files 
    sys/sys              mutex.h 
    sys/kern             kern_mutex.c 
    sys/i386/i386        trap.c 
    sys/ia64/ia64        trap.c 
    sys/alpha/alpha      trap.c 
  Log:
  - Add code to detect if a system call returns with locks other than Giant
    held and panic if so (conditional on witness).
  - Change witness_list to return the number of locks held so this is easier.
  - Add kern/syscalls.c to the kernel build if witness is defined so that the
    panic message can contain the name of the offending system call.
  - Add assertions that Giant and sched_lock are not held when returning from
    a system call, which were missing for alpha and ia64.
  
  Revision  Changes    Path
  1.451     +2 -1      src/sys/conf/files
  1.14      +2 -2      src/sys/sys/mutex.h
  1.29      +7 -2      src/sys/kern/kern_mutex.c
  1.162     +11 -1     src/sys/i386/i386/trap.c
  1.8       +15 -1     src/sys/ia64/ia64/trap.c
  1.38      +15 -1     src/sys/alpha/alpha/trap.c



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




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