Re: frequent lockups in 3.18rc4

From: Hillf Danton
Date: Mon Dec 15 2014 - 22:05:59 EST


>
> But me not seeing any other bug clearly doesn't mean it doesn't exist.
>
Perhaps we can easy the zap loop if it is busy.

thanks
Hillf

--- a/mm/memory.c Tue Dec 16 10:38:03 2014
+++ b/mm/memory.c Tue Dec 16 10:42:07 2014
@@ -1212,8 +1212,10 @@ again:
force_flush = 0;
tlb_flush_mmu_free(tlb);

- if (addr != end)
+ if (addr != end) {
+ cond_resched();
goto again;
+ }
}

return addr;
--


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