Re: [PATCH] kthread: Export kthread_data()

From: Christoph Hellwig
Date: Tue Feb 13 2018 - 10:50:42 EST


On Fri, Feb 09, 2018 at 09:52:21AM -0500, Waiman Long wrote:
> When multiple kernel threads are created to cooperatively work on
> a common task, we may need a convenient way to access data that are
> specific to each kthread.
>
> The kthread_data() function fits this need. However, it was not
> visible to kthreads started in a kernel module. To solve this problem,
> the kthread_data() function is now exported allowing kthreads from
> kernel modules to use it.

Please send this along wit hthe actual user of it.