Nick Piggin wrote: > Jeff Garzik wrote: > >> >> Nope, this patch does not fix the hang. >> > > Arrgh, sorry that should be > if (zone->pages_scanned *>=* blah) > > If you've got zero LRU pages, both sides of this should be zero, and > we *want* all_unreclaimable to be set. We'd better do this too, so kswapd can't take the machine down even if it wants to.