Re: [Patch V3 4/9] openvswitch: Replace cpu_to_node() with cpu_to_mem() to support memoryless node
Pravin Shelar <[email protected]> Tue, 18 Aug 2015 00:14:08 +0000
| Newsgroups | org.kernel.vger.linux-hotplug,org.kernel.vger.linux-kernel,org.kernel.vger.netdev,org.kvack.linux-mm |
|---|---|
| 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]>