Subject: CVS commit: [yamt-idlelwp] src/sys
To: None <source-changes@NetBSD.org>
From: Mindaugas Rasiukevicius <rmind@netbsd.org>
List: source-changes
Date: 03/24/2007 00:43:09
Module Name:	src
Committed By:	rmind
Date:		Sat Mar 24 00:43:09 UTC 2007

Modified Files:
	src/sys/arch/x86/x86 [yamt-idlelwp]: patch.c
	src/sys/kern [yamt-idlelwp]: kern_idle.c kern_lock.c kern_lwp.c
	    kern_proc.c kern_sleepq.c kern_synch.c kern_turnstile.c
	    sched_4bsd.c sys_lwp.c
	src/sys/sys [yamt-idlelwp]: lwp.h sched.h

Log Message:
Checkpoint:
- Abstract for per-CPU locking of runqueues.
  As a workaround for SCHED_4BSD global runqueue, covered by sched_mutex,
  spc_mutex is a pointer for now. After making SCHED_4BSD runqueues
  per-CPU, it will became a storage mutex.
- suspendsched: Locking is not necessary for cpu_need_resched().
- Remove mutex_spin_exit() prototype in patch.c and LOCK_ASSERT() check
  in runqueue_nextlwp() in sched_4bsd.c to make them compile again.


To generate a diff of this commit:
cvs rdiff -r1.2 -r1.2.2.1 src/sys/arch/x86/x86/patch.c
cvs rdiff -r1.1.2.4 -r1.1.2.5 src/sys/kern/kern_idle.c
cvs rdiff -r1.105.2.3 -r1.105.2.4 src/sys/kern/kern_lock.c
cvs rdiff -r1.55.2.7 -r1.55.2.8 src/sys/kern/kern_lwp.c
cvs rdiff -r1.100.2.3 -r1.100.2.4 src/sys/kern/kern_proc.c
cvs rdiff -r1.4.2.8 -r1.4.2.9 src/sys/kern/kern_sleepq.c
cvs rdiff -r1.177.2.17 -r1.177.2.18 src/sys/kern/kern_synch.c
cvs rdiff -r1.3.2.1 -r1.3.2.2 src/sys/kern/kern_turnstile.c
cvs rdiff -r1.1.2.18 -r1.1.2.19 src/sys/kern/sched_4bsd.c
cvs rdiff -r1.3.2.4 -r1.3.2.5 src/sys/kern/sys_lwp.c
cvs rdiff -r1.48.2.8 -r1.48.2.9 src/sys/sys/lwp.h
cvs rdiff -r1.30.2.10 -r1.30.2.11 src/sys/sys/sched.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.