Re: [RFC PATCH linux 2/2] fs/proc: use a hash table for the directory entries

From: Nicolas Dichtel
Date: Fri Oct 03 2014 - 09:07:10 EST


Le 02/10/2014 19:28, Alexey Dobriyan a écrit :
On Thu, Oct 02, 2014 at 05:25:01PM +0200, Nicolas Dichtel wrote:
+static inline unsigned int proc_pde_name_hash(const unsigned char *name,
+ const unsigned int len)
+{
+ return full_name_hash(name, len) & PROC_PDE_HASH_MASK;
+}

PDE already stands for "proc dir entry" :^)

Alexey

Oops, will fix it in v2.


Thank you,
Nicolas
--
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/