From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755408AbcI2Iog (ORCPT ); Thu, 29 Sep 2016 04:44:36 -0400 Received: from mail-wm0-f67.google.com ([74.125.82.67]:36658 "EHLO mail-wm0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754097AbcI2IoV (ORCPT ); Thu, 29 Sep 2016 04:44:21 -0400 From: Michal Hocko To: Andrew Morton Cc: Johannes Weiner , Mel Gorman , Tetsuo Handa , Dave Hansen , , LKML Subject: [PATCH 0/2] warn about allocations which stall for too long Date: Thu, 29 Sep 2016 10:44:05 +0200 Message-Id: <20160929084407.7004-1-mhocko@kernel.org> X-Mailer: git-send-email 2.9.3 In-Reply-To: <20160923081555.14645-1-mhocko@kernel.org> References: <20160923081555.14645-1-mhocko@kernel.org> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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@kernel.org