Subject: CVS commit: src/sys/arch/i386/i386
To: None <source-changes@NetBSD.org>
From: YAMAMOTO Takashi <yamt@netbsd.org>
List: source-changes
Date: 12/30/2003 03:57:20
Module Name:	src
Committed By:	yamt
Date:		Tue Dec 30 03:57:20 UTC 2003

Modified Files:
	src/sys/arch/i386/i386: machdep.c

Log Message:
(MULTIPROCESSOR version of) need_resched:
- nothing needs to be done if ci_want_resched is already set.
- if the cpu isn't running any lwp, send a no-op ipi to it
  so that it can resume immediately from halting in idle loop
  without having to wait until the next clock tick.
some advices from Stephan Uphoff.


To generate a diff of this commit:
cvs rdiff -r1.545 -r1.546 src/sys/arch/i386/i386/machdep.c

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