[PATCH 1/3] Change enter_lazy_tlb to inline on x86

Rik van Riel riel at surriel.com
Fri Oct 24 13:14:22 PDT 2025


On Sat, 2025-10-25 at 02:26 +0800, Xie Yuanbin wrote:
> This function is very short, and is called in the context switching,
> so it is called very frequently.
> 
> Change it to inline function on x86 to improve performance, just like
> its code in other architectures
> 
> Signed-off-by: Xie Yuanbin <qq570070308 at gmail.com>

Might as well inline it into what I remember
being its only caller.

Reviewed-by: Rik van Riel <riel at surriel.com>


-- 
All Rights Reversed.



More information about the linux-riscv mailing list