Re: [14/14] vcompound: Avoid vmalloc for ehash_locks

From: Eric Dumazet
Date: Fri Mar 21 2008 - 03:42:37 EST


David Miller a écrit :
From: Christoph Lameter <clameter@xxxxxxx>
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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/