Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1339366 > unrolled thread

[patch V2 01/28] x86/perf/intel/uncore: Remove pointless mask check

Started byThomas Gleixner <tglx@linutronix.de>
First post2016-02-22 12:20 +0100
Last post2016-02-22 12:20 +0100
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [patch V2 01/28] x86/perf/intel/uncore: Remove pointless mask check Thomas Gleixner <tglx@linutronix.de> - 2016-02-22 12:20 +0100

#1339366 — [patch V2 01/28] x86/perf/intel/uncore: Remove pointless mask check

FromThomas Gleixner <tglx@linutronix.de>
Date2016-02-22 12:20 +0100
Subject[patch V2 01/28] x86/perf/intel/uncore: Remove pointless mask check
Message-ID<r4WH0-4WG-17@gated-at.bofh.it>
uncore_cpumask_init() is only ever called from intel_uncore_init() where the
mask is guaranteed to be empty.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
---
 arch/x86/kernel/cpu/perf_event_intel_uncore.c |    6 ------
 1 file changed, 6 deletions(-)

--- a/arch/x86/kernel/cpu/perf_event_intel_uncore.c
+++ b/arch/x86/kernel/cpu/perf_event_intel_uncore.c
@@ -1342,12 +1342,6 @@ static void __init uncore_cpumask_init(v
 {
 	int cpu;
 
-	/*
-	 * ony invoke once from msr or pci init code
-	 */
-	if (!cpumask_empty(&uncore_cpu_mask))
-		return;
-
 	cpu_notifier_register_begin();
 
 	for_each_online_cpu(cpu) {

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web