Re: intercommunications between Linux kernel modules
From: Christoph Lameter
Date: Fri Oct 07 2011 - 13:41:41 EST
On Thu, 6 Oct 2011, Cyclonus J wrote:
> Yes, it is multi-threaded. I have two kernel modules and each of them will
> create its own kernel thread just for communication purpose (message passing).
>
> Do you know if there is any message primitves I can use to achieve this inside
> kernel?
F.e. Use the lockless lists in linux/include/llist.h?
Anything else will work too. Just declare a variable and access it from
both threads.
--
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/