SOURCES (LINUX_2_6): linux-2.6-cpuset_virtualization.patch - conve...
blues
blues at pld-linux.org
Tue Aug 1 14:04:47 CEST 2006
Author: blues Date: Tue Aug 1 12:04:47 2006 GMT
Module: SOURCES Tag: LINUX_2_6
---- Log message:
- convert callback_sem and manage_sem to mutexes
---- Files affected:
SOURCES:
linux-2.6-cpuset_virtualization.patch (1.1.2.8 -> 1.1.2.9)
---- Diffs:
================================================================
Index: SOURCES/linux-2.6-cpuset_virtualization.patch
diff -u SOURCES/linux-2.6-cpuset_virtualization.patch:1.1.2.8 SOURCES/linux-2.6-cpuset_virtualization.patch:1.1.2.9
--- SOURCES/linux-2.6-cpuset_virtualization.patch:1.1.2.8 Thu Jun 22 12:57:30 2006
+++ SOURCES/linux-2.6-cpuset_virtualization.patch Tue Aug 1 14:04:42 2006
@@ -319,7 +319,7 @@
+{
+ int retval;
+
-+ down(&callback_sem);
++ mutex_lock(&callback_mutex);
+ if (is_virtualized(p->cpuset))
+ retval = set_cpus_virt_allowed(p, mask);
+ else {
@@ -328,7 +328,7 @@
+ cpus_and(mask, mask, cpus_allowed);
+ retval = set_cpus_allowed(p, mask);
+ }
-+ up(&callback_sem);
++ mutex_unlock(&callback_mutex);
+ return retval;
+}
+
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SOURCES/linux-2.6-cpuset_virtualization.patch?r1=1.1.2.8&r2=1.1.2.9&f=u
More information about the pld-cvs-commit
mailing list