cvs commit: src/sys/kern subr_witness.c

2008-10-03 Thread John Baldwin
jhb 2008-10-03 18:13:05 UTC FreeBSD src repository Modified files: sys/kern subr_witness.c Log: SVN rev 183574 on 2008-10-03 18:13:05Z by jhb Oops, missed updating a place with with 's/lock1/plock/' when adding interlock support to WITNESS. Specifically,

cvs commit: src/sys/kern subr_witness.c

2008-09-24 Thread John Baldwin
jhb 2008-09-24 18:47:24 UTC FreeBSD src repository Modified files: sys/kern subr_witness.c Log: SVN rev 183329 on 2008-09-24 18:47:24Z by jhb Update description of witness_watch. Revision ChangesPath 1.257 +5 -3

cvs commit: src/sys/kern subr_witness.c

2008-09-12 Thread Attilio Rao
attilio 2008-09-12 21:44:01 UTC FreeBSD src repository Modified files: sys/kern subr_witness.c Log: SVN rev 182984 on 2008-09-12 21:44:01Z by attilio - For any lock list we hold the head in order to reduce allocation from the free list and in this way avoid

cvs commit: src/sys/kern subr_witness.c

2008-08-30 Thread Attilio Rao
attilio 2008-08-30 13:20:35 UTC FreeBSD src repository Modified files: sys/kern subr_witness.c Log: SVN rev 182473 on 2008-08-30 13:20:35Z by attilio - Improve some witness_watch operability in code which does perform both lock tracking and checks, doing

cvs commit: src/sys/kern subr_witness.c

2008-08-29 Thread Attilio Rao
attilio 2008-08-29 15:47:53 UTC FreeBSD src repository Modified files: sys/kern subr_witness.c Log: SVN rev 182446 on 2008-08-29 15:47:53Z by attilio - Make witness_watch a 3 state value. 1 means that witness is up and running. 0 means that witness is

cvs commit: src/sys/kern subr_witness.c

2008-07-19 Thread Robert Watson
rwatson 2008-07-19 17:47:23 UTC FreeBSD src repository Modified files: sys/kern subr_witness.c Log: SVN rev 180613 on 2008-07-19 17:47:23Z by rwatson witness_addgraph() is required even if DDB isn't compiled into the kernel, so exclude it from #ifdef DDB.

cvs commit: src/sys/kern subr_witness.c

2008-05-07 Thread Attilio Rao
attilio 2008-05-07 21:41:36 UTC FreeBSD src repository Modified files: sys/kern subr_witness.c Log: Add a new witness sysctl which returns the relations between any lock and its children in the form: parent,child so that head and bottom of an oriented graph can

cvs commit: src/sys/kern subr_witness.c

2008-04-12 Thread Attilio Rao
attilio 2008-04-12 13:51:19 UTC FreeBSD src repository Modified files: sys/kern subr_witness.c Log: Add missing stubs for spinlocks cpuset and intrcnt. Submitted by: kris Revision ChangesPath 1.244 +2 -0 src/sys/kern/subr_witness.c

cvs commit: src/sys/kern subr_witness.c src/sys/sys lock.h

2008-04-12 Thread Attilio Rao
attilio 2008-04-13 01:20:47 UTC FreeBSD src repository Modified files: sys/kern subr_witness.c sys/sys lock.h Log: struct lock_instance and struct lock_list_entry don't need to be in the public namespace for WITNESS as they are only used

cvs commit: src/sys/kern subr_witness.c

2008-03-17 Thread Pawel Jakub Dawidek
pjd 2008-03-17 11:48:40 UTC FreeBSD src repository Modified files: sys/kern subr_witness.c Log: - There is no more uidinfo struct mutex. - The uidinfo hash lock is now a rwlock. Reminded by:kib Revision ChangesPath 1.243 +1 -2

cvs commit: src/sys/kern subr_witness.c

2007-11-27 Thread Attilio Rao
attilio 2007-11-27 13:18:54 UTC FreeBSD src repository Modified files:(Branch: RELENG_7) sys/kern subr_witness.c Log: Partially MFC subr_witness.c rev. 1.238: - add missing spinlock scrlock in the static table Approved by: re Revision Changes

cvs commit: src/sys/kern subr_witness.c

2007-11-23 Thread Attilio Rao
attilio 2007-11-24 04:32:32 UTC FreeBSD src repository Modified files: sys/kern subr_witness.c Log: Fix the spinlock static table adding missing spinlocks. - rm_spinlock has turnstile chain as child - srclock has callout and clk as child, found by witness

cvs commit: src/sys/kern subr_witness.c

2007-06-16 Thread Marius Strobl
marius 2007-06-16 23:30:57 UTC FreeBSD src repository Modified files: sys/kern subr_witness.c Log: - Remove zstty spin lock for no longer existing zs(4). - Move the rtc_mtx spin lock out from under #ifdef SMP as it's just not SMP-specific. - Add a new spin

cvs commit: src/sys/kern subr_witness.c

2007-06-04 Thread Jeff Roberson
jeff2007-06-04 23:55:46 UTC FreeBSD src repository Modified files: sys/kern subr_witness.c Log: Commit 10/14 of sched_lock decomposition. - Add new spinlocks to support thread_lock() and adjust ordering. Tested by: kris, current@ Tested on:

Re: cvs commit: src/sys/kern subr_witness.c

2007-06-04 Thread Jeff Roberson
er, this was supposed to go in with another commit. sorry for the two 10s. On Mon, 4 Jun 2007, Jeff Roberson wrote: jeff2007-06-04 23:55:46 UTC FreeBSD src repository Modified files: sys/kern subr_witness.c Log: Commit 10/14 of sched_lock decomposition. - Add

Re: cvs commit: src/sys/kern subr_witness.c

2007-06-04 Thread Jeff Roberson
Ok folks, make sure you don't sup a snapshot from the middle of my commits and you should have a solid working tree. Thanks, Jeff On Mon, 4 Jun 2007, Jeff Roberson wrote: er, this was supposed to go in with another commit. sorry for the two 10s. On Mon, 4 Jun 2007, Jeff Roberson wrote:

Re: cvs commit: src/sys/kern subr_witness.c

2007-06-04 Thread Kris Kennaway
On Mon, Jun 04, 2007 at 05:01:18PM -0700, Jeff Roberson wrote: er, this was supposed to go in with another commit. sorry for the two 10s. Should have used an atomic op. Kris On Mon, 4 Jun 2007, Jeff Roberson wrote: jeff2007-06-04 23:55:46 UTC FreeBSD src repository

cvs commit: src/sys/kern subr_witness.c

2007-04-05 Thread Pawel Jakub Dawidek
pjd 2007-04-05 23:32:32 UTC FreeBSD src repository Modified files: sys/kern subr_witness.c Log: allprison mutex was converted to sx(9) lock. Revision ChangesPath 1.229 +1 -1 src/sys/kern/subr_witness.c

cvs commit: src/sys/kern subr_witness.c

2007-04-01 Thread Wojciech A. Koszek
wkoszek 2007-04-01 15:48:10 UTC FreeBSD src repository Modified files: sys/kern subr_witness.c Log: ng_node and ng_worklist locks both migrated from being spinning locks to adaptive mutexes. Let witness(4) calm down and bring proper types of those locks to the

Re: cvs commit: src/sys/kern subr_witness.c

2007-04-01 Thread Wojciech A. Koszek
On Sun, Apr 01, 2007 at 03:48:10PM +, Wojciech A. Koszek wrote: wkoszek 2007-04-01 15:48:10 UTC FreeBSD src repository Modified files: sys/kern subr_witness.c Log: ng_node and ng_worklist locks both migrated from being spinning locks to adaptive

cvs commit: src/sys/kern subr_witness.c src/sys/sys priv.h

2007-02-20 Thread Robert Watson
rwatson 2007-02-20 23:49:31 UTC FreeBSD src repository Modified files: sys/kern subr_witness.c sys/sys priv.h Log: Remove unnecessary privilege and privilege check for WITNESS sysctl. Head nod: jhb Revision ChangesPath 1.225

Re: cvs commit: src/sys/kern subr_witness.c

2007-02-06 Thread Alan Cox
Mike Pritchard wrote: mpp 2007-02-06 05:51:55 UTC FreeBSD src repository Modified files: sys/kern subr_witness.c Log: The change to the vm_page_queue_freelist lock from a spin lock to a sleep lock missed the witness code, and the system will panic immediately on

Re: cvs commit: src/sys/kern subr_witness.c

2007-02-06 Thread John Baldwin
On Tuesday 06 February 2007 00:51, Mike Pritchard wrote: mpp 2007-02-06 05:51:55 UTC FreeBSD src repository Modified files: sys/kern subr_witness.c Log: The change to the vm_page_queue_freelist lock from a spin lock to a sleep lock missed the witness

cvs commit: src/sys/kern subr_witness.c

2007-02-06 Thread Alan Cox
alc 2007-02-07 05:43:31 UTC FreeBSD src repository Modified files: sys/kern subr_witness.c Log: Remove the vm page queue free mutex from the CDEV order. Revision ChangesPath 1.224 +0 -1 src/sys/kern/subr_witness.c

cvs commit: src/sys/kern subr_witness.c

2007-02-05 Thread Mike Pritchard
mpp 2007-02-06 05:51:55 UTC FreeBSD src repository Modified files: sys/kern subr_witness.c Log: The change to the vm_page_queue_freelist lock from a spin lock to a sleep lock missed the witness code, and the system will panic immediately on boot if WITNESS is

cvs commit: src/sys/kern subr_witness.c

2007-02-02 Thread Konstantin Belousov
kib 2007-02-02 09:02:19 UTC FreeBSD src repository Modified files: sys/kern subr_witness.c Log: Record kqueue - struct mount mtx - vnode interlock lock order to catch the places where reverse lock order is instantiated. OKed by:jeff Revision

Re: cvs commit: src/sys/kern subr_witness.c

2007-02-02 Thread John-Mark Gurney
Konstantin Belousov wrote this message on Fri, Feb 02, 2007 at 09:02 +: kib 2007-02-02 09:02:19 UTC FreeBSD src repository Modified files: sys/kern subr_witness.c Log: Record kqueue - struct mount mtx - vnode interlock lock order to catch the

cvs commit: src/sys/kern subr_witness.c

2007-01-16 Thread Suleiman Souhlal
ssouhlal2007-01-16 22:56:28 UTC FreeBSD src repository Modified files: sys/kern subr_witness.c Log: Remove hptlock from the static witness table, now that it's a regular sleep mutex. Revision ChangesPath 1.221 +0 -1 src/sys/kern/subr_witness.c

cvs commit: src/sys/kern subr_witness.c src/sys/dev/syscons scmouse.c syscons.c syscons.h

2006-09-13 Thread Scott Long
scottl 2006-09-13 15:48:15 UTC FreeBSD src repository Modified files: sys/kern subr_witness.c sys/dev/syscons scmouse.c syscons.c syscons.h Log: Introduce a spinlock for synchronizing access to the video output hardware in syscons. This replaces a

cvs commit: src/sys/kern subr_witness.c

2006-09-01 Thread Suleiman Souhlal
ssouhlal2006-09-02 05:42:16 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) sys/kern subr_witness.c Log: MFC r1.217: The taskqueue_fast spinlocks were renamed to fast_taskqueue in subr_taskqueue.c:r1.32 Reported by:rdivacky

cvs commit: src/sys/kern subr_witness.c

2006-08-26 Thread Suleiman Souhlal
ssouhlal2006-08-26 11:21:25 UTC FreeBSD src repository Modified files: sys/kern subr_witness.c Log: The taskqueue_fast spinlocks were renamed to fast_taskqueue in subr_taskqueue.c:r1.32 Reported by:rdivacky Revision ChangesPath 1.217 +1 -1

Re: cvs commit: src/sys/kern subr_witness.c

2006-08-26 Thread Suleiman Souhlal
Gleb Smirnoff wrote: On Sat, Aug 26, 2006 at 11:21:25AM +, Suleiman Souhlal wrote: S ssouhlal2006-08-26 11:21:25 UTC S S FreeBSD src repository S S Modified files: S sys/kern subr_witness.c S Log: S The taskqueue_fast spinlocks were renamed to fast_taskqueue

cvs commit: src/sys/kern subr_witness.c src/etc/etc.sparc64 ttys

2006-04-25 Thread Marius Strobl
marius 2006-04-25 19:43:53 UTC FreeBSD src repository Modified files: sys/kern subr_witness.c etc/etc.sparc64 ttys Log: Remove last vestiges of sab(4). Revision ChangesPath 1.13 +0 -3 src/etc/etc.sparc64/ttys 1.215 +0 -1

cvs commit: src/sys/kern subr_witness.c

2006-04-25 Thread John Baldwin
jhb 2006-04-25 20:24:23 UTC FreeBSD src repository Modified files: sys/kern subr_witness.c Log: Use db_lookup_thread() to lookup the thread for the passed in address and change 'show locks' to only list the locks for a given thread rather than for all the

cvs commit: src/sys/kern subr_witness.c

2006-04-19 Thread John Baldwin
jhb 2006-04-19 15:45:29 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) sys/kern subr_witness.c Log: MFC 1.200: Fix compile w/o DDB. Approved by:re (scottl) Revision ChangesPath 1.195.2.9 +86 -86

cvs commit: src/sys/kern subr_witness.c

2006-04-19 Thread John Baldwin
jhb 2006-04-19 16:00:05 UTC FreeBSD src repository Modified files:(Branch: RELENG_6_1) sys/kern subr_witness.c Log: MF6: Fix compile w/o DDB. Approved by:re (scottl) Revision ChangesPath 1.195.2.8.2.1 +86 -86

cvs commit: src/sys/kern subr_witness.c

2006-04-07 Thread Marcel Moolenaar
marcel 2006-04-07 22:15:54 UTC FreeBSD src repository Modified files: sys/kern subr_witness.c Log: Add the scc_hwmtx spin mutex, defined by scc(4). Revision ChangesPath 1.214 +1 -0 src/sys/kern/subr_witness.c

Re: cvs commit: src/sys/kern subr_witness.c src/sys/sys ktr.h

2006-01-25 Thread John Baldwin
On Wednesday 25 January 2006 02:39, Nate Lawson wrote: John Baldwin wrote: jhb 2006-01-24 22:23:45 UTC FreeBSD src repository Modified files: sys/kern subr_witness.c sys/sys ktr.h Log: - Add a new KTR_SUBSYS in place of KTR_SPARE1

cvs commit: src/sys/kern subr_witness.c

2006-01-25 Thread Don Lewis
truckman2006-01-26 02:33:36 UTC FreeBSD src repository Modified files:(Branch: RELENG_5) sys/kern subr_witness.c Log: MFC subr_witness.c 1.198 and 1.200. Original commit messages: Log: Track all lock relationships instead of pruning direct

cvs commit: src/sys/kern subr_witness.c src/sys/sys ktr.h

2006-01-24 Thread John Baldwin
jhb 2006-01-24 22:23:45 UTC FreeBSD src repository Modified files: sys/kern subr_witness.c sys/sys ktr.h Log: - Add a new KTR_SUBSYS in place of KTR_SPARE1 to serve as a subsystem placeholder similar to KTR_DEV. Explain the use of KTR_DEV

Re: cvs commit: src/sys/kern subr_witness.c src/sys/sys ktr.h

2006-01-24 Thread Nate Lawson
John Baldwin wrote: jhb 2006-01-24 22:23:45 UTC FreeBSD src repository Modified files: sys/kern subr_witness.c sys/sys ktr.h Log: - Add a new KTR_SUBSYS in place of KTR_SPARE1 to serve as a subsystem placeholder similar to KTR_DEV.

cvs commit: src/sys/kern subr_witness.c src/sys/netinet igmp.c in.c in_var.h ip_input.c ip_output.c src/sys/netinet6 in6_var.h mld6.c

2006-01-18 Thread Ed Maste
emaste 2006-01-18 23:36:49 UTC FreeBSD src repository Modified files:(Branch: RELENG_5) sys/kern subr_witness.c sys/netinet igmp.c in.c in_var.h ip_input.c ip_output.c sys/netinet6 in6_var.h mld6.c Log:

cvs commit: src/sys/kern subr_witness.c

2006-01-04 Thread Don Lewis
truckman2006-01-04 19:27:23 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) sys/kern subr_witness.c Log: MFC subr_witness.c 1.198 and 1.200. Original commit messages: Log: Track all lock relationships instead of pruning direct

cvs commit: src/sys/kern subr_witness.c

2006-01-03 Thread John Baldwin
jhb 2006-01-03 20:43:01 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) sys/kern subr_witness.c Log: MFC: Fix a deadlock in the recently added printf to warn about spin locks that are not in the static order list. Revision Changes

cvs commit: src/sys/kern subr_witness.c

2005-12-29 Thread John Baldwin
jhb 2005-12-29 20:53:01 UTC FreeBSD src repository Modified files: sys/kern subr_witness.c Log: Fix a deadlock I introduced with the recently added printf to warn about spin locks that are not in the static order list. It is not safe to call printf while

cvs commit: src/sys/kern subr_witness.c

2005-12-29 Thread John Baldwin
jhb 2005-12-29 20:54:25 UTC FreeBSD src repository Modified files: sys/kern subr_witness.c Log: Teach WITNESS_SAVE() and WITNESS_RESTORE() to work with spin locks instead of only sleep locks. Revision ChangesPath 1.209 +18 -8

Re: cvs commit: src/sys/kern subr_witness.c

2005-12-29 Thread Andrew R. Reiter
Nice! On Thu, 29 Dec 2005, John Baldwin wrote: :jhb 2005-12-29 20:54:25 UTC : : FreeBSD src repository : : Modified files: :sys/kern subr_witness.c : Log: : Teach WITNESS_SAVE() and WITNESS_RESTORE() to work with spin locks instead : of only sleep locks. : :

cvs commit: src/sys/kern subr_witness.c src/sys/sys _lock.h lock.h

2005-12-05 Thread John Baldwin
jhb 2005-12-05 20:45:24 UTC FreeBSD src repository Modified files: sys/kern subr_witness.c sys/sys _lock.h lock.h Log: Tweak witness handling of lock object to shave 2 pointers off of each lock object (and thus off of each mutex and sx lock):

Re: cvs commit: src/sys/kern subr_witness.c src/sys/sys _lock.h lock.h

2005-12-05 Thread John Baldwin
On Monday 05 December 2005 03:45 pm, John Baldwin wrote: jhb 2005-12-05 20:45:24 UTC FreeBSD src repository Modified files: sys/kern subr_witness.c sys/sys _lock.h lock.h Log: Tweak witness handling of lock object to shave 2 pointers off of

Re: cvs commit: src/sys/kern subr_witness.c src/sys/sys _lock.h lock.h

2005-12-05 Thread Andre Oppermann
John Baldwin wrote: On Monday 05 December 2005 03:45 pm, John Baldwin wrote: jhb 2005-12-05 20:45:24 UTC FreeBSD src repository Modified files: sys/kern subr_witness.c sys/sys _lock.h lock.h Log: Tweak witness handling of lock