Re: [RFC: 2.6 patch] remove kernel/kthread.c:kthread_stop_sem()

From: Alan Stern
Date: Fri Jul 07 2006 - 16:58:58 EST


On Fri, 7 Jul 2006, Andrew Morton wrote:

> Adrian Bunk <bunk@xxxxxxxxx> wrote:
> >
> > This patch moves the otherwise unused kthread_stop_sem() into
> > kthread_stop().
> >
> > Signed-off-by: Adrian Bunk <bunk@xxxxxxxxx>
> >
> > ---
> >
> > This patch was already sent on:
> > - 29 Jun 2006
> >
> > include/linux/kthread.h | 12 ------------
> > kernel/kthread.c | 14 ++------------
> > 2 files changed, 2 insertions(+), 24 deletions(-)
> >
>
> Hum, OK. That's basically a `patch -R' of Alan's
> "[patch] Add kthread_stop_sem()".
>
> Alan, are you OK with reverting that?

Yes. I wrote it originally for use with the SCSI error-handler thread,
but then James Bottomley changed it so that it didn't wait on a semaphore.
So if nobody else is using it, kthread_stop_sem() can go.

Alan Stern

-
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/