[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <47E366D0.6090505@cosmosbay.com>
Date: Fri, 21 Mar 2008 08:42:08 +0100
From: Eric Dumazet <dada1@...mosbay.com>
To: David Miller <davem@...emloft.net>
CC: clameter@....com, linux-mm@...ck.org, linux-kernel@...r.kernel.org,
netdev@...r.kernel.org
Subject: Re: [14/14] vcompound: Avoid vmalloc for ehash_locks
David Miller a écrit :
> From: Christoph Lameter <clameter@....com>
> 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 netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists