From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from casper.infradead.org (casper.infradead.org [90.155.50.34]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 852A4187550 for ; Fri, 17 Jan 2025 21:04:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=90.155.50.34 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1737147870; cv=none; b=R83EnCJ8bsZqvzpwnasgO9gjqniHRYGR5VLZ/5sZCNzEhYz3iXuFV1auPOhJ94qGfsBrSyTkwE7ZxXO/4PhAPbWZbAJ0RaATSmVPrRZFDNHtmNY8h2Smr838qHoqhwKmbtP2fqaWydzXvZdZu/sgb8Or1shzniyKd772NRsaMXc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1737147870; c=relaxed/simple; bh=MTo2qS9u7khz/MK9ncwYqOdWy+rurt9XA8VFrAymWrg=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=hF+Bh4gv/aiXvSslY9qF9EWjboMbfEZ1U/1tzHa2QL9xEz73KusyfGptrMVLJV0fwtRLMGCM/TBryoPti0u4hAh1aG8Jp08bkmVk9tx9/HQp26xQj+fgw6WEiTfX2ZRmSnl4dmB5bsTvjkrR2Wq8LPIXtH2zdcJjV2zHVCzrels= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=infradead.org; spf=none smtp.mailfrom=infradead.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b=WsRa9/91; arc=none smtp.client-ip=90.155.50.34 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=infradead.org Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=infradead.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="WsRa9/91" DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=MTo2qS9u7khz/MK9ncwYqOdWy+rurt9XA8VFrAymWrg=; b=WsRa9/91I0DFhFl0uALZwUunj2 JcMSqAbPdxscMWr5CtC//t2yDwQVRHi8LAjPLhANDKIHOnojQnwf0T7D8uqJDo6/HuvuTMyV3HDzb REv+4KOBglorvNuGdwLAjLdKaOxFtb062LbmqF/RbyPyiRVcaIDc7vJrswXIulMHcjgRocq6/pVlC 86GbMG8OVc4nqrniGdiGaZrr/Q7p2aMxVuOF3HVEv+9WFptMmiJCxOUdKxaLYOmusHozSldhVhqBu B94vQ0+4VdWx+kNmC0IY+4Y1T665GM77skQ0bWuA8tSFQ6kO9GbkfgzUwLBnjppCCOo7/SZh11Q21 a/ofn2dg==; Received: from 77-249-17-89.cable.dynamic.v4.ziggo.nl ([77.249.17.89] helo=noisy.programming.kicks-ass.net) by casper.infradead.org with esmtpsa (Exim 4.98 #2 (Red Hat Linux)) id 1tYtVr-00000004WBZ-2XFO; Fri, 17 Jan 2025 21:04:19 +0000 Received: by noisy.programming.kicks-ass.net (Postfix, from userid 1000) id 76AA030057A; Fri, 17 Jan 2025 22:04:18 +0100 (CET) Date: Fri, 17 Jan 2025 22:04:18 +0100 From: Peter Zijlstra To: Ravi Bangoria Cc: "mingo@kernel.org" , "lucas.demarchi@intel.com" , "linux-kernel@vger.kernel.org" , "willy@infradead.org" , "acme@kernel.org" , "namhyung@kernel.org" , "mark.rutland@arm.com" , "alexander.shishkin@linux.intel.com" , "jolsa@kernel.org" , "irogers@google.com" , "adrian.hunter@intel.com" , "kan.liang@linux.intel.com" Subject: Re: [PATCH 19/19] perf: Make perf_pmu_unregister() useable Message-ID: <20250117210418.GA10948@noisy.programming.kicks-ass.net> References: <20241104133909.669111662@infradead.org> <20241104135519.715883982@infradead.org> <20241217091216.GK35539@noisy.programming.kicks-ass.net> <20241217115219.GH12500@noisy.programming.kicks-ass.net> <8c31f7bd-871d-4a38-ad15-a16a116e1f39@amd.com> <20250117000316.GB33629@noisy.programming.kicks-ass.net> <20250117130423.GI8385@noisy.programming.kicks-ass.net> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20250117130423.GI8385@noisy.programming.kicks-ass.net> On Fri, Jan 17, 2025 at 02:04:23PM +0100, Peter Zijlstra wrote: > Anyway, let me go break this up into individual patches and go test > this -- after lunch! OK, so aside from a few dumb mistakes, the result seems to hold up with your tinypmu testcase. I left it running for about 30 minutes. I pushed out the latest patches to queue/perf/pmu-unregister