On Mon, Sep 19, 2011 at 9:23 AM, Jon Zhou <jon.z...@jdsu.com> wrote:
> Hi
>
> I want to hashmap to store datat in kernel module, how can I do this? Any 
> existed code?
Hello,

There are a lot of places where hashes are used. Just grep for 'hash'
 through the kernel sources.

For example have a look at futex_queues [1].

thanks,
Daniel.

[1] http://lxr.linux.no/linux+v3.0.4/kernel/futex.c#L150

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

Reply via email to