Re: [PATCH 1/4] numa: generalize numa_map_to_online_node()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Aug 10, 2023 at 09:24:39AM -0700, Yury Norov wrote:
> The function is in fact searches for the nearest node for a given one,
> based on a N_ONLINE state. This is a common pattern to search for a
> nearest node.
> 
> This patch converts numa_map_to_online_node(node) to
> numa_nearest_node(node, state), so that others won't need opencode the
> logic.

> The following patches apply it where applicable.

Doesn't sound like should be part of the commit message.

-- 
With Best Regards,
Andy Shevchenko






[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux