[PATCH v2 0/1] mm/contpte: Optimize loop to reduce redundant operations

Xavier
2025-04-08T09:13:13Z

Hi Dev,

Thanks for your valuable feedback earlier. I have optimized the patch again,
eliminating additional boolean variables check and allowing the loop to break
immediately once both dirty and young flags are set. This approach should
theoretically be more efficient than the original code. Thank you for taking
the time to review this work, I'm happy to make further adjustments based on
your suggestions!

Xavier (1):
mm/contpte: Optimize loop to reduce redundant operations

arch/arm64/mm/contpte.c | 22 ++++++++++++++++++++--
1 file changed, 20 insertions(+), 2 deletions(-)

--
2.34.1