Re: [Patch V3 4/9] openvswitch: Replace cpu_to_node() with cpu_to_mem() to support memoryless node
Pravin Shelar <[email protected]> Mon, 17 Aug 2015 17:14:08 -0700
| Newsgroups | gmane.linux.kernel.mm,gmane.linux.hotplug.devel,gmane.linux.kernel,gmane.linux.network,gmane.network.openvswitch.devel |
|---|---|
| Message-ID | <CALnjE+pTMo2E2CSswzbSeTPONvUQ8d_+Z1UbGVKMEZcSCjtA=A@mail.gmail.com> |
On Sun, Aug 16, 2015 at 8:19 PM, Jiang Liu <[email protected]> wrote: > Function ovs_flow_stats_update() allocates memory with __GFP_THISNODE > flag set, which may cause permanent memory allocation failure on > memoryless node. So replace cpu_to_node() with cpu_to_mem() to better > support memoryless node. For node with memory, cpu_to_mem() is the same > as cpu_to_node(). > > This change only affects performance and shouldn't affect functionality. > > Signed-off-by: Jiang Liu <[email protected]> Acked-by: Pravin B Shelar <[email protected]> -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"[email protected]"> [email protected] </a>