Received: by 2002:a05:6358:700f:b0:131:369:b2a3 with SMTP id 15csp2015488rwo; Thu, 3 Aug 2023 03:32:55 -0700 (PDT) X-Google-Smtp-Source: APBJJlGHxpdvflzIE+exFarPJOm/ZaYon/wAKhy4CT62K5r70+ck1o5537N5JSkExzLlJzSMzZMQ X-Received: by 2002:a17:906:220c:b0:992:7594:e6b2 with SMTP id s12-20020a170906220c00b009927594e6b2mr6770149ejs.77.1691058775659; Thu, 03 Aug 2023 03:32:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691058775; cv=none; d=google.com; s=arc-20160816; b=UpWpCPGfvaM0ulUXe1NqWgKrdEYp/+O+FBs2n+p9YiNRgtkgODM6gLDe64nzWXQxkj a2AsSwi07/epQoWUxr7tkrZOa5iei+AA7VGE2oRf+fvwlDoC4WhntrvGC019bv3hJpfQ d/e4b/39G5XdU6SBdO4m+hk75F8iYIgTB0a2cj0GVR2vSl1TYV1o+mWbfa1s0lGEjqtq dGlhHRcau0EKwLGBtID3LEKVBAUKD7U74SOwCqTQj80I4bO2k8kI3RUnTPuTIxvNGvA7 YVvAeUwg72+v9qnVUeQlukORoaptFlDTPKeEMJa3Io+CXDfnVUCZhzs4/d+DiZ8qxh/i 15SA== 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-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=G3dKS3PiyfTeGk+/L0aBzxktIOdUDrPMrl0WarMpWQQ=; fh=3fw0FwMnMMCHCxuMVWqerdmAPFtdvSXz+td6MwLfGqo=; b=VfFnQedNWG4f0OA7E4QXPHpaeWmNzvCHF7cJHsS06sU+25vh3I6HR+oy3uSmxMKJEX 5gyPzpeMw/Na18c5QJLfDSOnZP8QjYo5OjZrYW9epAF0XTXtTf7i98K5U8S59XNlXQqN /FmwlIfSBFlEc+/F5sbwvtSDXxYyzMJQ6Np6jUyZ1rPpSOY3iatFm7pD16pFkdkG71KX IIGdF0l0abuLY37zvSo+4p8fW3rhdXFNm4bDrxWr+utTokX2CJx4QC+AtmD08qc6VxBS BfRzkgy1Z1hS14yfMoh9mUk0gNxgac6dzM09Uta0GlIUrWaJEdoRMXnbI9PPXJ9m9TXu RcCw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=desiato.20200630 header.b=Ia1vVio9; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id gq15-20020a170906e24f00b0099212b34e82si832507ejb.18.2023.08.03.03.32.31; Thu, 03 Aug 2023 03:32:55 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=desiato.20200630 header.b=Ia1vVio9; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234818AbjHCIyS (ORCPT + 99 others); Thu, 3 Aug 2023 04:54:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40486 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231331AbjHCIyQ (ORCPT ); Thu, 3 Aug 2023 04:54:16 -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 796BEE43; Thu, 3 Aug 2023 01:54:14 -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-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=G3dKS3PiyfTeGk+/L0aBzxktIOdUDrPMrl0WarMpWQQ=; b=Ia1vVio9qPQGTgm9A1rXOwAQvs JdHxuflT57Mix99Tv3LruwRbE1jHPxlrI8ly2lXKqTgSNyxtnpLW4OPMI/YrbOz4lRyygGp0OCzCf nuvOxZTE9hDXtjw/ML1v6wXGIlLP1/7jjMj/mPPR1iRNP3JhRfd/AlVuev525ENSTuBpoLUZND7cW 5PGXEbXG51yAdInstMTyFNCb01j+rWx7jEZsVrUTO7j1cwIKfeFS9yEvnnPGZY8yn/9FMlzve1fc4 dEcYOYqlRu3pr6SYW2qyA59vDs0RnkWYDBFHumuwSO5Gt7Z1yc/MTJt8hLJPUwWYcUGypRkIUW6St GEDPh6jw==; 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 1qRU5X-00GgiW-2u; Thu, 03 Aug 2023 08:53:44 +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 59B6F30007E; Thu, 3 Aug 2023 10:53:42 +0200 (CEST) Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id 38DA5202F3A1A; Thu, 3 Aug 2023 10:53:42 +0200 (CEST) Date: Thu, 3 Aug 2023 10:53:42 +0200 From: Peter Zijlstra To: Ze Gao Cc: Adrian Hunter , Alexander Shishkin , Arnaldo Carvalho de Melo , Ian Rogers , Ingo Molnar , Jiri Olsa , Mark Rutland , Masami Hiramatsu , Namhyung Kim , Steven Rostedt , linux-kernel@vger.kernel.org, linux-perf-users@vger.kernel.org, linux-trace-kernel@vger.kernel.org, Ze Gao Subject: Re: [RFC PATCH v6 3/5] sched, tracing: reorganize fields of switch event struct Message-ID: <20230803085342.GG212435@hirez.programming.kicks-ass.net> References: <20230803083352.1585-1-zegao@tencent.com> <20230803083352.1585-4-zegao@tencent.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230803083352.1585-4-zegao@tencent.com> X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Aug 03, 2023 at 04:33:50AM -0400, Ze Gao wrote: > Report prioritiy and prev_state in 'short' to save some buffer > space. And also reorder the fields so that we take struct > alignment into consideration to make the record compact. > > Suggested-by: Steven Rostedt (Google) > Signed-off-by: Ze Gao I am really getting fed up with this. This again doesn't list any reasons on why this is a sane thing to do. Please review past discussions and collate the various things mentioned into this Changelog.