Re: [PATCH] jffs2_gcd_mtd3, Stopping kernel threads timed out

David Woodhouse
2007-06-29T08:28:28Z

On Fri, 2007-06-29 at 10:24 +0200, Uli Luckas wrote:
> But then again, my patch was more complex for a reason :-) How does your patch
> handle the situation, where try_to_freeze returns true _and_ there is a
> pending SIGHUP?

It'll go back to the beginning of the loop, then if it _does_ take the
!thread_should_wake() path it'll be woken immediately by the pending
SIGHUP, and it'll do one GC pass as intended.

--
dwmw2