diff options
Diffstat (limited to 'debian/patches-rt/0115-hotplug-Lightweight-get-online-cpus.patch')
-rw-r--r-- | debian/patches-rt/0115-hotplug-Lightweight-get-online-cpus.patch | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/debian/patches-rt/0115-hotplug-Lightweight-get-online-cpus.patch b/debian/patches-rt/0115-hotplug-Lightweight-get-online-cpus.patch index 0f2094998..81c079eed 100644 --- a/debian/patches-rt/0115-hotplug-Lightweight-get-online-cpus.patch +++ b/debian/patches-rt/0115-hotplug-Lightweight-get-online-cpus.patch @@ -1,7 +1,7 @@ From: Thomas Gleixner <tglx@linutronix.de> Date: Wed, 15 Jun 2011 12:36:06 +0200 -Subject: [PATCH 115/353] hotplug: Lightweight get online cpus -Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=622116c75e173f8a4be2422016f5047e8a72fda1 +Subject: [PATCH 115/354] hotplug: Lightweight get online cpus +Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=3ba8eb74c6b86a06075162358d936bfe7e1c0dfa get_online_cpus() is a heavy weight function which involves a global mutex. migrate_disable() wants a simpler construct which prevents only @@ -19,7 +19,7 @@ Signed-off-by: Thomas Gleixner <tglx@linutronix.de> 3 files changed, 24 insertions(+) diff --git a/include/linux/cpu.h b/include/linux/cpu.h -index 12ed4cb751de..bddccdcd00ba 100644 +index c376a59a3e42..90985dbce8f4 100644 --- a/include/linux/cpu.h +++ b/include/linux/cpu.h @@ -124,6 +124,8 @@ extern void cpu_hotplug_disable(void); @@ -42,7 +42,7 @@ index 12ed4cb751de..bddccdcd00ba 100644 /* Wrappers which go away once all code is converted */ diff --git a/kernel/cpu.c b/kernel/cpu.c -index c9ca190ec034..f4c49bbc3fa3 100644 +index 34c09c3d37bc..b25993345ea6 100644 --- a/kernel/cpu.c +++ b/kernel/cpu.c @@ -284,6 +284,21 @@ static int cpu_hotplug_disabled; |