[PATCH v2 0/1] mm/contpte: Optimize loop to reduce redundant operations
Xavier
xavier_qy at 163.com
Tue Apr 8 01:58:08 PDT 2025
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
More information about the linux-arm-kernel
mailing list