lkml.org 
[lkml]   [2015]   [Jul]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] kthread: export park/unpark facility
On Thu, 9 Jul 2015, Jean Tourrilhes wrote:
> On Thu, Jul 09, 2015 at 10:05:02AM +0200, Thomas Gleixner wrote:
> >
> > > This patch should definitely help most modules.
> >
> > And how exactly would this help modules?
>
> Putting kthread to sleep and waking them up later is slightly
> tricky :
> http://www.linuxjournal.com/article/8144
>
> The park and unpark API encapsulate this functionality in
> a pretty nice and clean API, and avoid duplicating this code in
> various modules. I'm all for sharing the joy ;-)

If you can come up with a proper use case, i.e. patch for a module,
then we can certainly talk about the exports. But without a user it
does not make any sense.

Thanks,

tglx


\
 
 \ /
  Last update: 2015-07-09 19:21    [W:0.100 / U:0.532 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site