Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752920Ab0KEGzu (ORCPT ); Fri, 5 Nov 2010 02:55:50 -0400 Received: from mail.perches.com ([173.55.12.10]:4264 "EHLO mail.perches.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751673Ab0KEGzs (ORCPT ); Fri, 5 Nov 2010 02:55:48 -0400 Subject: Re: [PATCH 46/49] net/netfilter: Use vzalloc From: Joe Perches To: Eric Dumazet Cc: Jesper Juhl , Jiri Kosina , Patrick McHardy , "David S. Miller" , netfilter-devel@vger.kernel.org, netfilter@vger.kernel.org, coreteam@netfilter.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org In-Reply-To: <1288938640.3234.12.camel@edumazet-laptop> References: <7d6da34b7e84955795717b0241000a0701cd5b34.1288925425.git.joe@perches.com> <1288938640.3234.12.camel@edumazet-laptop> Content-Type: text/plain; charset="UTF-8" Date: Thu, 04 Nov 2010 23:55:46 -0700 Message-ID: <1288940146.18440.55.camel@Joe-Laptop> Mime-Version: 1.0 X-Mailer: Evolution 2.30.3 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1322 Lines: 40 On Fri, 2010-11-05 at 07:30 +0100, Eric Dumazet wrote: > I had _one_ patch, waiting that David actually had vzalloc() in its tree > before sending it. Fine by me, use yours. > Given Jesper Juhl was doing this work, could you please take another > one, please ? > For example, explaining him how to use other tools than "bash+egrep > +manual inspection" as he mentioned in a previous mail. Jesper Juhl was both pointed at the cocci docs and given a cocci script. He said he'd investigate it when he could. I trust he will get to it. I think that for this sort of patchset, grep and manual inspection works just as well as spatch and likely better because a simple cocci script doesn't transform code like: if (size > PAGE_SIZE) ptr = vmalloc(size); else ptr = kmalloc(size, GFP); if (ptr) memset(ptr, 0, size); I did say in the 00 cover that this was broken up just to cc the maintainers of each block. I also think a single rolled-up single patch is good. I believe Jiri Kosina can easily apply all these individual patches as a single patch if he chooses. -- 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/