Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp641849rdg; Wed, 11 Oct 2023 00:52:11 -0700 (PDT) X-Google-Smtp-Source: AGHT+IESbBhVfPKtUjLN0ffYheFdKQKmb+yIpuq6Ig7hxshWr720uYRSG7+sxTlecAn/5NhioTDG X-Received: by 2002:a05:6a00:1ac6:b0:690:2818:a4ce with SMTP id f6-20020a056a001ac600b006902818a4cemr27566024pfv.7.1697010730980; Wed, 11 Oct 2023 00:52:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697010730; cv=none; d=google.com; s=arc-20160816; b=Bf3IAYrDcF+cOc3NYbGt29RugwjC1GzwYu9jposcnlOs+1B1W1zBphrsFTImTZ90sn NNpT9kEtZqu+xklqh9N8uezhIZiH1AzVaIEoQxjhXdwoGX91dxTWQxCMNx/KETO46cch 6cxMcCeaXYxdCfCb1z1Fw61i+xI8Bd1MD2gPoKAuC0EU1o5yyIn1WA7xtPjHaCFzrm8E yqjDOAebdvIXctRqR/0YsGxaq+eI/T/Qlx5PL/ijdvtPU7d4D528owUaUUn/aF6tnJb4 8s5ZSJQri9hQ643Zk1oJdZwVmebj+nYSsgdK897gmHgG01ztFBm6kFlRbkY4lVgerC6u Kb9A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=eEZSBqQ9YE3ctS4Sdh5+G5TGt1bwrC3NMuUntiLTjDc=; fh=30P0f+sP5meRe/SzjFEeZX/l6fe+hayG+KHXLtxWZqY=; b=trMwm/+jrxMb5MoCRYq84n/b8aqLJDQR3eoWdLEyGo3Z96PxlsMrIqp/MbqHXipOzI Tcp7tVKw89EmyYxOBMYfFvOvB/TxKt1YcNsKvm+PVSDXrbrwA4qgMWBPRc/aHoCWBxyK cRq19bymF7wVrhXdum1gSs1wN++pbleyL0593xwSNKyP/1tIM6crrck6pZaiH3wWOYG6 sG6W3uSeck58aluHrxfOxWkODsVFK4FHCNXANkI+UaJxpTRu9VlDcR0uX1RF8JHmLDJx T5rIkjAfD+mPk8GJQJgTFIqSmYILkX/z0yU4ERew6vjVYkAt2wpC0dEWsfESg3eXBLNx qhWQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=desiato.20200630 header.b=U+D6mGCO; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from groat.vger.email (groat.vger.email. [2620:137:e000::3:5]) by mx.google.com with ESMTPS id h7-20020a056a00230700b0068a3cb58334si11813379pfh.320.2023.10.11.00.52.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 11 Oct 2023 00:52:10 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) client-ip=2620:137:e000::3:5; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=desiato.20200630 header.b=U+D6mGCO; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id 68ACE801BA51; Wed, 11 Oct 2023 00:52:07 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230106AbjJKHvu (ORCPT + 99 others); Wed, 11 Oct 2023 03:51:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41622 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230090AbjJKHvr (ORCPT ); Wed, 11 Oct 2023 03:51:47 -0400 Received: from desiato.infradead.org (desiato.infradead.org [IPv6:2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 81382AC; Wed, 11 Oct 2023 00:51:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=In-Reply-To:Content-Transfer-Encoding: Content-Type:MIME-Version:References:Message-ID:Subject:Cc:To:From:Date: Sender:Reply-To:Content-ID:Content-Description; bh=eEZSBqQ9YE3ctS4Sdh5+G5TGt1bwrC3NMuUntiLTjDc=; b=U+D6mGCOtudlQUAgOIxYO06sJz 6B0x59BEEsecpZUeqv+G1JWrosSgqaKl2oG5sB0TJR2FIRlRqDP16whkJ3GWvdURPqeYPgEX7jJwm 41cu24VbG6F8HwNtwD++tolSUacaRiAvL5u8wzX11VbdRY3cGihDvXKpVaI8HKRJsfVvsdRBWSuC4 g5bmHnYNUX92dHsd2m1IDbwdch0TVveVbzdMwRr4eJPmos94dt/+fXkddeNFZmB3j3Ex94BcVNi39 QKNqlhPo4MKDGy3FdGcdV3ODF35gkrMt4NLKlCfuYDB5cYGCajGyIjxihDyJ8edDVoYRwACI7/qvW ycaLzMfw==; Received: from j130084.upc-j.chello.nl ([24.132.130.84] helo=noisy.programming.kicks-ass.net) by desiato.infradead.org with esmtpsa (Exim 4.96 #2 (Red Hat Linux)) id 1qqU0F-0003xP-0c; Wed, 11 Oct 2023 07:51:36 +0000 Received: by noisy.programming.kicks-ass.net (Postfix, from userid 1000) id 4F3E530026F; Wed, 11 Oct 2023 09:51:36 +0200 (CEST) Date: Wed, 11 Oct 2023 09:51:36 +0200 From: Peter Zijlstra To: Namhyung Kim Cc: Ingo Molnar , Mark Rutland , Alexander Shishkin , Arnaldo Carvalho de Melo , LKML , Stephane Eranian , Kan Liang , Ravi Bangoria , stable@vger.kernel.org Subject: Re: [PATCH] perf/core: Introduce cpuctx->cgrp_ctx_list Message-ID: <20231011075136.GM14330@noisy.programming.kicks-ass.net> References: <20231004040844.797044-1-namhyung@kernel.org> <20231004160224.GB6307@noisy.programming.kicks-ass.net> <20231009210425.GC6307@noisy.programming.kicks-ass.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Spam-Status: No, score=2.7 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, RCVD_IN_SBL_CSS,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Wed, 11 Oct 2023 00:52:07 -0700 (PDT) X-Spam-Level: ** On Tue, Oct 10, 2023 at 08:45:03PM -0700, Namhyung Kim wrote: > On Mon, Oct 9, 2023 at 9:57 PM Namhyung Kim wrote: > > > > Hi Peter, > > > > On Mon, Oct 9, 2023 at 2:04 PM Peter Zijlstra wrote: > > > > > > On Wed, Oct 04, 2023 at 09:32:24AM -0700, Namhyung Kim wrote: > > > > > > > Yeah, I know.. but I couldn't come up with a better solution. > > > > > > Not been near a compiler, and haven't fully thought it through, but > > > could something like the work work? > > > > Thanks for the patch, I think it'd work. Let me test it > > and get back to you. > > I worked well but contained a typo. See below. Ha, typing hard ;-) I did say it hadn't been near a compiler ... > Which way do you want to process this change? Do I send it again > with your S-o-b or will you apply it by yourself? Either is fine, just > let me know. In case of latter, you can add I'll go write me a Changelog and apply the thing, then we can forget about things.