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 X-Spam-Level: X-Spam-Status: No, score=-4.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 12479C433E0 for ; Mon, 3 Aug 2020 19:06:29 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 4A11020A8B for ; Mon, 3 Aug 2020 19:06:28 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="T/1F6x/a" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 4A11020A8B Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linux.intel.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References:Message-ID: Subject: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=lhbKm/L5Xh10YLDokl7E4sXVpVoxTC11eEH09fKLN0o=; b=T/1F6x/aYEf/XpRKY0Ck/ygny CAvxZ6s/JpDSmyhuXhd8hiFkaivf5WaaEP+B0ZGbFda2sm8xkcoVvByJHAAoe228usfe+hioD92SF yGvp8rV3AX65yG2u/b+Q0Cble3RtKjvaEt1k2mnLD6FdPkOJhkSzHYUBWbjVfbUAj1WbKuDB+32LL dFe3K2QlnFMD6qT2FrHmbvE6C3gY7cSy+/YMsLcKMb+kXjbiOMSmz+PVE84byXPpiqWQFqjh09pnW TPJJmQU0/AZdhYLvSIzgXOTQ5GXjJjxMSzk+TB+Q6gJF7QyaicFtjBHDgwQ+hMnKM/jtAL1En/gX1 8nJeIqhLw==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1k2flp-0000f1-Uy; Mon, 03 Aug 2020 19:05:13 +0000 Received: from mga07.intel.com ([134.134.136.100]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1k2fln-0000eP-Pb for linux-arm-kernel@lists.infradead.org; Mon, 03 Aug 2020 19:05:12 +0000 IronPort-SDR: isxFHD2QbyvH7NvbOtKNugnJOhclfcKuatlIdcN+gEhpodhG1RSrhXfda6YNkAhlK/8kCiq8XK IKxwAREiKDRw== X-IronPort-AV: E=McAfee;i="6000,8403,9702"; a="216592789" X-IronPort-AV: E=Sophos;i="5.75,431,1589266800"; d="scan'208";a="216592789" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 03 Aug 2020 12:05:07 -0700 IronPort-SDR: oJ59usHZIo/V2XvsaaF2ffeauJiMzYoWD+G0LHQLHWJK+qHUC5lg/k5XEvs4GeYnlYUIdwSTxl 25ocyzJZIrTw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.75,430,1589266800"; d="scan'208";a="314888731" Received: from tassilo.jf.intel.com (HELO tassilo.localdomain) ([10.7.201.21]) by fmsmga004.fm.intel.com with ESMTP; 03 Aug 2020 12:05:07 -0700 Received: by tassilo.localdomain (Postfix, from userid 1000) id E5E5E301C06; Mon, 3 Aug 2020 12:05:06 -0700 (PDT) Date: Mon, 3 Aug 2020 12:05:06 -0700 From: Andi Kleen To: Arvind Sankar Subject: Re: [PATCH v5 13/36] vmlinux.lds.h: add PGO and AutoFDO input sections Message-ID: <20200803190506.GE1299820@tassilo.jf.intel.com> References: <20200731230820.1742553-1-keescook@chromium.org> <20200731230820.1742553-14-keescook@chromium.org> <20200801035128.GB2800311@rani.riverdale.lan> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20200801035128.GB2800311@rani.riverdale.lan> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200803_150511_965927_C1B0D7B8 X-CRM114-Status: GOOD ( 16.17 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , linux-efi@vger.kernel.org, Catalin Marinas , Manoj Gupta , Will Deacon , Thomas Gleixner , linux-arch@vger.kernel.org, =?utf-8?B?RsSBbmctcnXDrCBTw7JuZw==?= , Masahiro Yamada , x86@kernel.org, Russell King , Ard Biesheuvel , clang-built-linux@googlegroups.com, Ingo Molnar , Luis Lozano , Borislav Petkov , Kees Cook , Arnd Bergmann , Jian Cai , Nathan Chancellor , Peter Collingbourne , linux-arm-kernel@lists.infradead.org, Michal Marek , Nick Desaulniers , linux-kernel@vger.kernel.org, stable@vger.kernel.org, James Morse 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 > However, the history of their being together comes from > > 9bebe9e5b0f3 ("kbuild: Fix .text.unlikely placement") > > which seems to indicate there was some problem with having them separated out, > although I don't quite understand what the issue was from the commit message. Separating it out is less efficient. Gives worse packing for the hot part if they are not aligned to 64byte boundaries, which they are usually not. It also improves packing of the cold part, but that probably doesn't matter. -Andi _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel