Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752118AbbHRAOL (ORCPT ); Mon, 17 Aug 2015 20:14:11 -0400 Received: from mail-ig0-f182.google.com ([209.85.213.182]:36597 "EHLO mail-ig0-f182.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750874AbbHRAOJ (ORCPT ); Mon, 17 Aug 2015 20:14:09 -0400 MIME-Version: 1.0 In-Reply-To: <1439781546-7217-5-git-send-email-jiang.liu@linux.intel.com> References: <1439781546-7217-1-git-send-email-jiang.liu@linux.intel.com> <1439781546-7217-5-git-send-email-jiang.liu@linux.intel.com> Date: Mon, 17 Aug 2015 17:14:08 -0700 Message-ID: Subject: Re: [Patch V3 4/9] openvswitch: Replace cpu_to_node() with cpu_to_mem() to support memoryless node From: Pravin Shelar To: Jiang Liu Cc: Andrew Morton , Mel Gorman , David Rientjes , Mike Galbraith , Peter Zijlstra , "Rafael J . Wysocki" , Tang Chen , Tejun Heo , "David S. Miller" , Tony Luck , linux-mm@kvack.org, linux-hotplug@vger.kernel.org, LKML , x86@kernel.org, netdev , "dev@openvswitch.org" Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 810 Lines: 17 On Sun, Aug 16, 2015 at 8:19 PM, Jiang Liu 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 Acked-by: Pravin B Shelar -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/