From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B9C4C63D; Tue, 29 Oct 2024 00:05:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1730160328; cv=none; b=WDl4ZtdjXTbHwDaR/E/zOu6BqyH+O6Q7rn/7ebfMb+Sw6QDBC3KaqTdzz6h2ZZNMrxt4Y0iHbBexygXGbTDX+vpneOY4mbVb3pKq9jdYAYCTr6WnfvldeOrXWm1A4z7m9p/VcaFMY3vLNWAD2Bs3ZrzREVEUdPHif/fLRZXfVzs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1730160328; c=relaxed/simple; bh=FxJLl4mrx/QrLDiJMwCFHrjtuieQ9Q9i2RWkURi65iI=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=gDFDX3Ph2NWohPNoZwgPhXoxSlEmPPKvySexgkzcu1g5ROkcHU/ZTPTPBgRz3U60UXZwouTC2GGPLDDSaJ84OnuQhXcsPAVTxgJGkxmfi9v9EXcOIjQ6gxBAJUaj8UxM9fBIuGiKEjhclx6k+J2xSJm6b7roltUBzs+t+4GylIc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=YNzJBRB/; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="YNzJBRB/" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 22E28C4CEC3; Tue, 29 Oct 2024 00:05:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1730160328; bh=FxJLl4mrx/QrLDiJMwCFHrjtuieQ9Q9i2RWkURi65iI=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=YNzJBRB/qkeDMzEqa0btA36O0TNo75Q84HsjMejGyTC+5s5kN7ErzH8zdQLQvwu35 q7jAqAV5euWWZA9ZRH+d1EJUHUwVLJi3iJ62TdeFTpVAMvoxhIDsRNvqinJs1gQBh5 Aqf5oYxzltR35L7kvde5bsgrtGm2TX3XF7+gFB8LLd/wV1dTfSsBRGWCKTQ2wZP/pf i2urBsoZkjJBGsxYnWPdADBWBfrzKMetNAdqZAyQTBxLwkTUSdCKIrdJ4UdIFWRHf3 rHAEHtw7FfMyKmBJxYxb1Y6uB5933G4ImCphQdzT6+0hJ1EX7BrYQ38BlTb9vCGaZ3 yzc7fdIVCHtqw== Date: Mon, 28 Oct 2024 17:05:25 -0700 From: Kees Cook To: Rong Xu Cc: Alice Ryhl , Andrew Morton , Arnd Bergmann , Bill Wendling , Borislav Petkov , Breno Leitao , Brian Gerst , Dave Hansen , David Li , Han Shen , Heiko Carstens , "H. Peter Anvin" , Ingo Molnar , Jann Horn , Jonathan Corbet , Josh Poimboeuf , Juergen Gross , Justin Stitt , Masahiro Yamada , "Mike Rapoport (IBM)" , Nathan Chancellor , Nick Desaulniers , Nicolas Schier , "Paul E. McKenney" , Peter Zijlstra , Sami Tolvanen , Thomas Gleixner , Wei Yang , workflows@vger.kernel.org, Miguel Ojeda , Maksim Panchenko , "David S. Miller" , Andreas Larsson , Yonghong Song , Yabin Cui , Krzysztof Pszeniczny , Sriraman Tallam , Stephane Eranian , x86@kernel.org, linux-arch@vger.kernel.org, sparclinux@vger.kernel.org, linux-doc@vger.kernel.org, linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org, llvm@lists.linux.dev Subject: Re: [PATCH v6 4/7] Add markers for text_unlikely and text_hot sections Message-ID: <202410281705.F093FC01@keescook> References: <20241026051410.2819338-1-xur@google.com> <20241026051410.2819338-5-xur@google.com> Precedence: bulk X-Mailing-List: workflows@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20241026051410.2819338-5-xur@google.com> On Fri, Oct 25, 2024 at 10:14:06PM -0700, Rong Xu wrote: > Add markers like __hot_text_start, __hot_text_end, __unlikely_text_start, > and __unlikely_text_end which will be included in System.map. These markers > indicate how the compiler groups functions, providing valuable information > to developers about the layout and optimization of the code. > > Co-developed-by: Han Shen > Signed-off-by: Han Shen Reviewed-by: Kees Cook -- Kees Cook