Re: [PATCH v7 06/16] tracepoint: use new hashtable implementation
From: Tejun Heo <tj@kernel.org>
Date: 2012-10-29 18:58:21
Also in:
dm-devel, linux-mm, linux-nfs, lkml
From: Tejun Heo <tj@kernel.org>
Date: 2012-10-29 18:58:21
Also in:
dm-devel, linux-mm, linux-nfs, lkml
On Mon, Oct 29, 2012 at 02:53:19PM -0400, Mathieu Desnoyers wrote:
The argument about hash_init being useful to add magic values in the future only works for the cases where a hash table is declared with DECLARE_HASHTABLE(). It's completely pointless with DEFINE_HASHTABLE(), because we could initialize any debugging variables from within DEFINE_HASHTABLE().
You can do that with [0 .. HASH_SIZE - 1] initializer. Thanks. -- tejun -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>