NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
PR/39349 CVS commit: [netbsd-5] src/sys
The following reply was made to PR kern/39349; it has been noted by GNATS.
From: Soren Jacobsen <snj%netbsd.org@localhost>
To: gnats-bugs%gnats.NetBSD.org@localhost
Cc:
Subject: PR/39349 CVS commit: [netbsd-5] src/sys
Date: Thu, 13 Nov 2008 00:04:08 +0000 (UTC)
Module Name: src
Committed By: snj
Date: Thu Nov 13 00:04:07 UTC 2008
Modified Files:
src/sys/arch/x86/x86 [netbsd-5]: cpu.c
src/sys/arch/xen/x86 [netbsd-5]: cpu.c
src/sys/kern [netbsd-5]: kern_cpu.c sys_sched.c
src/sys/sys [netbsd-5]: cpu.h
Log Message:
Pull up following revision(s) (requested by rmind in ticket #48):
sys/kern/kern_cpu.c: revision 1.37
sys/arch/x86/x86/cpu.c: revision 1.58
sys/arch/xen/x86/cpu.c: revision 1.29
sys/sys/cpu.h: revision 1.24
sys/kern/sys_sched.c: revision 1.31
- Avoid the race with CPU online/offline state changes, when setting the
affinity (cpu_lock protects these operations now).
- Disallow setting of state of CPU to to offline, if there are bound LWPs,
which have no CPU to migrate.
- Disallow setting of affinity for the LWP(s), if all CPUs in the dynamic
CPU-set are offline.
- sched_setaffinity: fix invalid check of kcpuset_isset().
- Rename cpu_setonline() to cpu_setstate().
Should fix PR/39349.
To generate a diff of this commit:
cvs rdiff -r1.57 -r1.57.4.1 src/sys/arch/x86/x86/cpu.c
cvs rdiff -r1.28 -r1.28.4.1 src/sys/arch/xen/x86/cpu.c
cvs rdiff -r1.36.4.1 -r1.36.4.2 src/sys/kern/kern_cpu.c
cvs rdiff -r1.30 -r1.30.4.1 src/sys/kern/sys_sched.c
cvs rdiff -r1.23 -r1.23.4.1 src/sys/sys/cpu.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Home |
Main Index |
Thread Index |
Old Index