From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 1588EECAAD5 for ; Mon, 29 Aug 2022 14:42:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=L2AX4Wurl47SBd+f4tm0t9gswHgE+epgj5+YAYUNSFk=; b=WTXYK3P48Fj6UZ 9Ka1yQQI5AfTMglIAAMrzTduZ2anaNBGyUXXo3kFItpwJk10u9E1OryksfVT2Gv4qCJAyADZi5ty/ p5w9xVVU6PR6X0Mgqzx989R7CnXlrZO6qajQfQfAxg3S2mGEuSb6HewVIb0U0BpU1fXyEsNxt4iNb ZzALdS7RP7WNNVkrTAOkvE0x11L3WFycRJV5OCkqULEYDyBI9GlijjHpxsvxhLFl+leDljoa0e9PR YL6EPp+PU+RsPe+rCC72HrfOGbxOJNWUahynMXUW4Ai88BgQilgD9yizoMUZLlY6+Hihhd0ZfRm5h Op9CQgiWviQvruj3ApIQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oSfwr-00B922-Ox; Mon, 29 Aug 2022 14:41:09 +0000 Received: from casper.infradead.org ([2001:8b0:10b:1236::1]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oSfwp-00B91C-9Z for linux-arm-kernel@bombadil.infradead.org; Mon, 29 Aug 2022 14:41:07 +0000 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=lJS+pLAi5sb8pBgmQuEnoBizzRdmvXfzdL3MQDy3a/M=; b=NM3GMWCME6KcxUES8h8nuw3Jtz yT8WFtLWcEFeiCptFrBzQYF9ZbcPj3SDgh98MFhThfzLX37DexiocmtuU+cxLlRsbdW8387JE0Agf HIlNlSSGWkMm/dINC2uaBkERa9wUQ8JKJrn0gyLkCvqClWMMKOFuJUa1Mptrpq80QfIz+aK6tM4QI eA326NpyLe5tsWtX+rGIsq1AznuDhNH2OD3I7GweQIRMWnkWWJyS+DiE3qcrYas70B6NTF83GL/0J zqfmKrkAN3qPClkCvr1Rg4TuSPP+RHm6+RILfx08k1isT9Nmcpp8B46YGomKVod6QKVLGSEdrf6Nk 0fv3StdA==; Received: from j130084.upc-j.chello.nl ([24.132.130.84] helo=noisy.programming.kicks-ass.net) by casper.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1oSfwh-003ATB-Re; Mon, 29 Aug 2022 14:40:59 +0000 Received: from hirez.programming.kicks-ass.net (hirez.programming.kicks-ass.net [192.168.1.225]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by noisy.programming.kicks-ass.net (Postfix) with ESMTPS id BFBE23002FE; Mon, 29 Aug 2022 16:40:56 +0200 (CEST) Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id 9992D2097DAD1; Mon, 29 Aug 2022 16:40:56 +0200 (CEST) Date: Mon, 29 Aug 2022 16:40:56 +0200 From: Peter Zijlstra To: Ravi Bangoria Cc: acme@kernel.org, alexander.shishkin@linux.intel.com, jolsa@redhat.com, namhyung@kernel.org, songliubraving@fb.com, eranian@google.com, ak@linux.intel.com, mark.rutland@arm.com, frederic@kernel.org, maddy@linux.ibm.com, irogers@google.com, will@kernel.org, robh@kernel.org, mingo@redhat.com, catalin.marinas@arm.com, linux-arm-kernel@lists.infradead.org, linux-perf-users@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-s390@vger.kernel.org, linux-kernel@vger.kernel.org, sandipan.das@amd.com, ananth.narayan@amd.com, kim.phillips@amd.com, santosh.shukla@amd.com Subject: Re: [PATCH] perf: Rewrite core context handling Message-ID: References: <20220829113347.295-1-ravi.bangoria@amd.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Mon, Aug 29, 2022 at 02:04:33PM +0200, Peter Zijlstra wrote: > On Mon, Aug 29, 2022 at 05:03:47PM +0530, Ravi Bangoria wrote: > > @@ -12598,6 +12590,7 @@ EXPORT_SYMBOL_GPL(perf_event_create_kernel_counter); > > > > void perf_pmu_migrate_context(struct pmu *pmu, int src_cpu, int dst_cpu) > > { > > +#if 0 // XXX buggered - cpu hotplug, who cares > > struct perf_event_context *src_ctx; > > struct perf_event_context *dst_ctx; > > struct perf_event *event, *tmp; > > @@ -12658,6 +12651,7 @@ void perf_pmu_migrate_context(struct pmu *pmu, int src_cpu, int dst_cpu) > > } > > mutex_unlock(&dst_ctx->mutex); > > mutex_unlock(&src_ctx->mutex); > > +#endif > > } > > EXPORT_SYMBOL_GPL(perf_pmu_migrate_context); > > > > Note to self; fix this :-) I'll see if I have time for that later today. Urgh, while going through that it appears the whole refcounting thing isn't fully done either. _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel