History log of /netbsd-src/sys/kern/subr_lockdebug.c (Results 51 – 75 of 82)
Revision Date Author Comments
# 81194e34 06-May-2008 ad <ad@NetBSD.org>

Allow rw_tryenter(&lock, RW_READER) to recurse, for vfs_busy().


# 839080f7 03-May-2008 yamt <yamt@NetBSD.org>

lockdebug: try to detect recursive acquirements of read-write locks.


# ce099b40 28-Apr-2008 martin <martin@NetBSD.org>

Remove clause 3 and 4 from TNF licenses


# 8f9c8f5e 27-Apr-2008 ad <ad@NetBSD.org>

lockdebug_barrier: disable preemption using the interrupt priority level,
not crit_enter/crit_exit. Since this is called from mi_switch(), crit_exit
could recurse and skew statistics.


# feb4783f 27-Mar-2008 ad <ad@NetBSD.org>

Replace use of CACHE_LINE_SIZE in some obvious places.


# 057adba1 18-Feb-2008 ad <ad@NetBSD.org>

Make it compile if !LOCKDEBUG.


# 7eb6056f 18-Feb-2008 ad <ad@NetBSD.org>

Try to prevent more than one CPUs panicing when an error is detected.


# 212c50dd 05-Jan-2008 ad <ad@NetBSD.org>

Need sys/lock.h for SPINLOCK_SPIN_HOOK.


# 0664a045 04-Jan-2008 ad <ad@NetBSD.org>

Start detangling lock.h from intr.h. This is likely to cause short term
breakage, but the mess of dependencies has been regularly breaking the
build recently anyhow.


# ea3f10f7 26-Dec-2007 ad <ad@NetBSD.org>

Merge more changes from vmlocking2, mainly:

- Locking improvements.
- Use pool_cache for more items.


# 461cd942 08-Dec-2007 ad <ad@NetBSD.org>

Merge changes from vmlocking2 branch.


# b470ab62 30-Nov-2007 ad <ad@NetBSD.org>

Use membar_*().


# 354863d6 26-Nov-2007 yamt <yamt@NetBSD.org>

lockdebug_mem_check: turn a redundant check into a panic.


# 33e66db2 22-Nov-2007 yamt <yamt@NetBSD.org>

fix lockdebug_mem_check.


# 671754cc 21-Nov-2007 yamt <yamt@NetBSD.org>

lockdebug_alloc: detect double initialization explicitly.


# 51e523b8 21-Nov-2007 yamt <yamt@NetBSD.org>

re-enable lockdebug_mem_check. ad@ said disabling it was a mistake
in the first place.
the implementation has been changed to use rb-tree rather than hash
so that it can check regions larger than pa

re-enable lockdebug_mem_check. ad@ said disabling it was a mistake
in the first place.
the implementation has been changed to use rb-tree rather than hash
so that it can check regions larger than page size as well.

show more ...


# 87fcbb0f 21-Nov-2007 yamt <yamt@NetBSD.org>

remove #if 0'ed code.


# 38d5e341 21-Nov-2007 yamt <yamt@NetBSD.org>

make kmutex_t and krwlock_t smaller by killing lock id.
ok'ed by Andrew Doran.


# 2cab8950 12-Nov-2007 matt <matt@NetBSD.org>

Don't static init simplelock (back out those changes).


# 90ef495f 12-Nov-2007 matt <matt@NetBSD.org>

use __SIMPLELOCK_UNLOCKED, not SIMPLELOCK_INITIALIZER


# 11910619 11-Nov-2007 matt <matt@NetBSD.org>

Change some initialization of static queues to compile time.
(xxx_INIT to xxx_HEAD_INITIALIZER). Drop code which inits
non-auto (global or static) variables to 0 since that's
already implied by bein

Change some initialization of static queues to compile time.
(xxx_INIT to xxx_HEAD_INITIALIZER). Drop code which inits
non-auto (global or static) variables to 0 since that's
already implied by being non-auto. Init some static/global
cpu_simple_locks at compile time.

show more ...


# d831186d 06-Nov-2007 ad <ad@NetBSD.org>

Merge scheduler changes from the vmlocking branch. All discussed on
tech-kern:

- Invert priority space so that zero is the lowest priority. Rearrange
number and type of priority levels into bands.

Merge scheduler changes from the vmlocking branch. All discussed on
tech-kern:

- Invert priority space so that zero is the lowest priority. Rearrange
number and type of priority levels into bands. Add new bands like
'kernel real time'.
- Ignore the priority level passed to tsleep. Compute priority for
sleep dynamically.
- For SCHED_4BSD, make priority adjustment per-LWP, not per-process.

show more ...


# dde5d75e 27-Oct-2007 ad <ad@NetBSD.org>

Fix spelling.


# 11dc6399 11-Oct-2007 ad <ad@NetBSD.org>

Merge from vmlocking:

- G/C spinlockmgr() and simple_lock debugging.
- Always include the kernel_lock functions, for LKMs.
- Slightly improved subr_lockdebug code.
- Keep sizeof(struct lock) the sam

Merge from vmlocking:

- G/C spinlockmgr() and simple_lock debugging.
- Always include the kernel_lock functions, for LKMs.
- Slightly improved subr_lockdebug code.
- Keep sizeof(struct lock) the same if LOCKDEBUG.

show more ...


# 0ca3d21b 21-Sep-2007 dsl <dsl@NetBSD.org>

Include sys/cdefs.h first.


1234