> Date: Sat, 17 Oct 2020 16:16:01 +0200
> From: Sebastien Marie
>
> On Wed, Oct 14, 2020 at 08:58:04PM +0200, Mark Kettenis wrote:
> > > Date: Thu, 1 Oct 2020 09:09:50 +0200
> > > From: Sebastien Marie
> > >
> > > Hi,
> > >
> > > Currently, when a process is calling kthread_stop(), it sets a
On Wed, Oct 14, 2020 at 08:58:04PM +0200, Mark Kettenis wrote:
> > Date: Thu, 1 Oct 2020 09:09:50 +0200
> > From: Sebastien Marie
> >
> > Hi,
> >
> > Currently, when a process is calling kthread_stop(), it sets a flag
> > asking the thread to stop, and enters in sleep mode, but the code
> >
> Date: Thu, 1 Oct 2020 09:09:50 +0200
> From: Sebastien Marie
>
> Hi,
>
> Currently, when a process is calling kthread_stop(), it sets a flag
> asking the thread to stop, and enters in sleep mode, but the code
> doing the stop doesn't wakeup the caller of kthread_stop().
>
> The thread should
Hi,
Currently, when a process is calling kthread_stop(), it sets a flag
asking the thread to stop, and enters in sleep mode, but the code
doing the stop doesn't wakeup the caller of kthread_stop().
The thread should also be unparked as else it will not seen the
KTHREAD_SHOULDSTOP flag. it