Re: [PATCH v1] Namespace: Optimize the namespace code
From: Thomas Gleixner
Date: Sat Aug 10 2024 - 04:53:30 EST
On Fri, Aug 09 2024 at 20:17, Xavier wrote:
> Modify variable names in the function clone_time_ns to enhance
> readability, and optimize the memory release operation by placing
> it outside of the spin lock in alloc_ucounts.
Renaming variables is not an optimization. Don't do two things at once.
Also the rename is not adding any value. This code is about time
namespace so 'ns' is perfectly understandable.
Thanks,
tglx