lkml.org 
[lkml]   [2006]   [Jun]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: please revert kthread from loop.c
On Tue, 27 Jun 2006, Serge E. Hallyn wrote:
>
> Very sorry.

No problem, just something I happened to notice, that's all.

> Subject: [PATCH] kthread: convert loop.c to use kthread
>
> Convert loop.c to use kthread in place of the deprecated
> kernel_thread.
>
> Update: Keep the lo_done completion to indicate when the
> loop_thread is ready. Otherwise a user gets the
> go-ahead early and may start an ioctl before
> loop_thread is in fact ready.
>
> Also fix some other bugs including misnaming the thread,
> found by Andrew Morton, and not setting lo->thread as
> pointed out by Hugh Dickins.
>
> This version has passed parallel runs of the following
> script (on different devices of course), i.e.

But not good for me. Gets further e.g. 170 iterations,
but then hangs while kthread_stop waits for completion.

I haven't investigated further. Is there really any reason
to be messing with what has worked well for so long here?

Hugh
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-06-28 20:44    [W:0.106 / U:0.460 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site