Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754527AbYCUHmX (ORCPT ); Fri, 21 Mar 2008 03:42:23 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752062AbYCUHmM (ORCPT ); Fri, 21 Mar 2008 03:42:12 -0400 Received: from neuf-infra-smtp-out-sp604007av.neufgp.fr ([84.96.92.120]:39204 "EHLO neuf-infra-smtp-out-sp604007av.neufgp.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751602AbYCUHmM (ORCPT ); Fri, 21 Mar 2008 03:42:12 -0400 Message-ID: <47E366D0.6090505@cosmosbay.com> Date: Fri, 21 Mar 2008 08:42:08 +0100 From: Eric Dumazet User-Agent: Thunderbird 2.0.0.12 (Windows/20080213) MIME-Version: 1.0 To: David Miller CC: clameter@sgi.com, linux-mm@kvack.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org Subject: Re: [14/14] vcompound: Avoid vmalloc for ehash_locks References: <20080321061727.491610308@sgi.com> <47E35D73.6060703@cosmosbay.com> <20080321.003123.180348056.davem@davemloft.net> In-Reply-To: <20080321.003123.180348056.davem@davemloft.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 881 Lines: 24 David Miller a ?crit : > From: Christoph Lameter > Date: Fri, 21 Mar 2008 00:03:51 -0700 (PDT) > >> On Fri, 21 Mar 2008, Eric Dumazet wrote: >> >>> But, isnt it defeating the purpose of this *particular* vmalloc() use ? >> I thought that was controlled by hashdist? I did not see it used here and >> so I assumed that the RR was not intended here. > > It's intended for all of the major networking hash tables. Other networking hash tables uses alloc_large_system_hash(), which handles hashdist settings. But this helper is __init only, so we can not use it for ehash_locks (can be allocated by DCCP module) -- 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/