Re: [PATCH v6 4/7] Add markers for text_unlikely and text_hot sections
From: Kees Cook
Date: Mon Oct 28 2024 - 19:57:01 EST
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 <shenhan@xxxxxxxxxx>
> Signed-off-by: Han Shen <shenhan@xxxxxxxxxx>
Yup, this is good.
Reviewed-by: Kees Cook <kees@xxxxxxxxxx>
--
Kees Cook