Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933079AbbFPIxE (ORCPT ); Tue, 16 Jun 2015 04:53:04 -0400 Received: from www.linutronix.de ([62.245.132.108]:43207 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932239AbbFPIwv (ORCPT ); Tue, 16 Jun 2015 04:52:51 -0400 Date: Tue, 16 Jun 2015 10:52:49 +0200 (CEST) From: Thomas Gleixner To: Vikas Shivappa cc: linux-kernel@vger.kernel.org, vikas.shivappa@intel.com, x86@kernel.org, hpa@zytor.com, mingo@kernel.org, peterz@infradead.org, matt.fleming@intel.com, will.auld@intel.com, linux-rdt@eclists.intel.com Subject: Re: [PATCH 09/10] x86/intel_rdt: Hot cpu support for Cache Allocation In-Reply-To: <1434133037-25189-10-git-send-email-vikas.shivappa@linux.intel.com> Message-ID: References: <1434133037-25189-1-git-send-email-vikas.shivappa@linux.intel.com> <1434133037-25189-10-git-send-email-vikas.shivappa@linux.intel.com> User-Agent: Alpine 2.11 (DEB 23 2013-08-11) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Linutronix-Spam-Score: -1.0 X-Linutronix-Spam-Level: - X-Linutronix-Spam-Status: No , -1.0 points, 5.0 required, ALL_TRUSTED=-1,SHORTCIRCUIT=-0.0001 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 644 Lines: 20 On Fri, 12 Jun 2015, Vikas Shivappa wrote: > +static inline void intel_rdt_cpu_start(int cpu) > +{ > + struct intel_pqr_state *state = &per_cpu(pqr_state, cpu); > + > + state->closid = 0; > + mutex_lock(&rdt_group_mutex); This is called from CPU_STARTING, which runs on the starting cpu with interrupts disabled. Clearly never tested with any of the mandatory debug configs enabled. Thanks tglx -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/