Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp2284671pxa; Mon, 3 Aug 2020 12:05:52 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxlJbKWRT/29g/2EHXsRd0N06RyakdO7biXmTEmoCqnz/+mhyTJMQ01mbrsQmboBAgfZLGY X-Received: by 2002:a05:6402:b67:: with SMTP id cb7mr8393284edb.216.1596481552715; Mon, 03 Aug 2020 12:05:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1596481552; cv=none; d=google.com; s=arc-20160816; b=nP6/FcmStiG58oqJNPHRfVdgPb6vX8HpKdbaP0hWAhIYFdmkqxUXNbuiZ7ItXDObXY 1tn238YBUVd205hpajYwvdAsd2A+q/CT3inoCuXholzvSd70Fckz2yRZdt9ONxlHgpNK DNR+1dgD9uBaN6W+E8oY1Z+WCzKLBVdJCeQGJ35CFd7ZgkfOpzLZFOxrxKFYzdYCvijH g5Tk/1X91rwXY6HDYWpk3fidJsY/FifGeR9TIsx0WwndL1ncZ70aOI3PpyMIqgbk1pIM Po2jEKeolwAZUS0O6SsL8OClB1kUO/JfwsL8AZbY7qA/y1mfe6ohWQge5wtjFkcBK+4U msIw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :ironport-sdr:ironport-sdr; bh=hDmOOxBw8z3NfPRleE05sK1Sn9gEuKv7wgzaRFASxNw=; b=WkaB8JeiPBi9GR4/+T4Jnqm/zOM8+R+iLnu7eHjqnLoI12GkR4qGid3ymnFgGd7TPm bc0IkgoHpXZI38wgYz6pUgiVA54St4nhhx8F+aosfvYfPsyxvbfVGJWEkjpQH6vkZTTF Rv+yOLe7NH1jKiK1wUbosVxqhbg4rA21VjKqnhc41Zg4q2t4igaROVueHjZXRCcfBR0S OgpxQy2UzwoWQl2DUOvgb77wvm4Aw07DPmIQPojGr0Kfj+gmUchIksBez2UcuTv2LrMi LLB4BYLZ8+5lfm4qKW9KfV0uO6SDMEwGZLvpm4s/DQaAtPTr3pS2e+O8kBz5wD/mpOPa vD8g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id k13si10770376ejr.354.2020.08.03.12.05.27; Mon, 03 Aug 2020 12:05:52 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726906AbgHCTFR (ORCPT + 99 others); Mon, 3 Aug 2020 15:05:17 -0400 Received: from mga14.intel.com ([192.55.52.115]:47829 "EHLO mga14.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726130AbgHCTFR (ORCPT ); Mon, 3 Aug 2020 15:05:17 -0400 IronPort-SDR: /4xYqsQ05M2uR13ZPzMJ1t3c50JhloS2n5IOA3RaBRglrQdPd/T/gOABLq+rH3iOAQlZ5RGNok iEcG37saVgCQ== X-IronPort-AV: E=McAfee;i="6000,8403,9702"; a="151414459" X-IronPort-AV: E=Sophos;i="5.75,431,1589266800"; d="scan'208";a="151414459" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga103.fm.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 Cc: Kees Cook , Thomas Gleixner , Will Deacon , Nick Desaulniers , Jian Cai , =?utf-8?B?RsSBbmctcnXDrCBTw7JuZw==?= , Luis Lozano , Manoj Gupta , stable@vger.kernel.org, Catalin Marinas , Mark Rutland , Ard Biesheuvel , Peter Collingbourne , James Morse , Borislav Petkov , Ingo Molnar , Russell King , Masahiro Yamada , Nathan Chancellor , Arnd Bergmann , x86@kernel.org, clang-built-linux@googlegroups.com, linux-arch@vger.kernel.org, linux-efi@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Michal Marek 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-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200801035128.GB2800311@rani.riverdale.lan> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.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