Messages in this thread | | | Date | Fri, 21 Mar 2008 08:42:08 +0100 | From | Eric Dumazet <> | Subject | Re: [14/14] vcompound: Avoid vmalloc for ehash_locks |
| |
David Miller a écrit : > From: Christoph Lameter <clameter@sgi.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 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/
| |