Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932296AbaKRU3S (ORCPT ); Tue, 18 Nov 2014 15:29:18 -0500 Received: from mail-qc0-f171.google.com ([209.85.216.171]:58960 "EHLO mail-qc0-f171.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932159AbaKRU3Q (ORCPT ); Tue, 18 Nov 2014 15:29:16 -0500 MIME-Version: 1.0 In-Reply-To: <1416327778-17716-2-git-send-email-pagupta@redhat.com> References: <1416327778-17716-1-git-send-email-pagupta@redhat.com> <1416327778-17716-2-git-send-email-pagupta@redhat.com> Date: Tue, 18 Nov 2014 12:29:15 -0800 Message-ID: Subject: Re: [PATCH net-next 1/4] net: allow large number of rx queues From: Cong Wang To: Pankaj Gupta Cc: "linux-kernel@vger.kernel.org" , netdev , David Miller , Jason Wang , "Michael S. Tsirkin" , dgibson@redhat.com, vfalico@gmail.com, Eric Dumazet , Vladislav Yasevich , Jerry Chu , wuzhy@linux.vnet.ibm.com.pnq.redhat.com, Pavel Emelyanov , Tom Herbert , bhutchings@solarflare.com, xii@google.com, Stephen Hemminger , =?UTF-8?B?SmnFmcOtIFDDrXJrbw==?= , sergei.shtylyov@cogentembedded.com Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Nov 18, 2014 at 8:22 AM, Pankaj Gupta wrote: > > As vmalloc() adds overhead on a critical network path, > __GFP_REPEAT flag is used with kzalloc() to do this fallback > only when really needed. > Are you sure we need __GFP_REPEAT? We have vmalloc() as fallback of kmalloc() in many places of networking (grep kvfree), none of those I checked has this flag set. -- 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/