[PATCH 0/2] warn about allocations which stall for too long

From: Michal Hocko
Date: Thu Sep 29 2016 - 04:44:41 EST


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