Hi, it seems there was no fundamental opposition to my previous RFC [1] so I am sending this again now to be considered for inclusion. I have reworked the patch slightly and made it use the already existing warn_alloc_failed which was updated and renamed to be more generic. This is the patch 1. The patch 2 then simply uses it to warn about long stall. Comparing to the previous patch it also does show_mem() which might be really helpful to see why the allocation cannot make any progress. [1] http://lkml.kernel.org/r/20160923081555.14645-1-mhocko@xxxxxxxxxx -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@xxxxxxxxx. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"dont@xxxxxxxxx"> email@xxxxxxxxx </a>