[PATCH] jffs2_gcd_mtd3, Stopping kernel threads timed out

David Woodhouse dwmw2 at infradead.org
Fri Jun 29 04:28:28 EDT 2007


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




More information about the linux-mtd mailing list