Re: [PATCH 2/4] sched/fair: fix opencoded numa_nearest_node()
From: Andy Shevchenko
Date: Fri Aug 11 2023 - 04:50:15 EST
On Thu, Aug 10, 2023 at 09:24:40AM -0700, Yury Norov wrote:
> task_numa_placement() searches for a nearest node by calling
> for_each_node_state(). Now that we have numa_nearest_node(), switch to
> using it.
For better looking you may rewrap the above as
---8<---
task_numa_placement() searches for a nearest node by calling
for_each_node_state(). Now that we have numa_nearest_node(),
switch to using
---8<---
--
With Best Regards,
Andy Shevchenko