From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wr0-f197.google.com (mail-wr0-f197.google.com [209.85.128.197]) by kanga.kvack.org (Postfix) with ESMTP id 4EF2F6B0253 for ; Thu, 26 Oct 2017 10:37:52 -0400 (EDT) Received: by mail-wr0-f197.google.com with SMTP id z55so1773216wrz.2 for ; Thu, 26 Oct 2017 07:37:52 -0700 (PDT) Received: from gum.cmpxchg.org (gum.cmpxchg.org. [85.214.110.215]) by mx.google.com with ESMTPS id 4si2410090eds.41.2017.10.26.07.37.51 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 26 Oct 2017 07:37:51 -0700 (PDT) Date: Thu, 26 Oct 2017 10:37:37 -0400 From: Johannes Weiner Subject: Re: [PATCH] mm: don't warn about allocations which stall for too long Message-ID: <20171026143737.GC21147@cmpxchg.org> References: <1509017339-4802-1-git-send-email-penguin-kernel@I-love.SAKURA.ne.jp> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1509017339-4802-1-git-send-email-penguin-kernel@I-love.SAKURA.ne.jp> Sender: owner-linux-mm@kvack.org List-ID: To: Tetsuo Handa Cc: akpm@linux-foundation.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org, Cong Wang , Dave Hansen , Mel Gorman , Michal Hocko , Petr Mladek , Sergey Senozhatsky , Vlastimil Babka , "yuwang.yuwang" On Thu, Oct 26, 2017 at 08:28:59PM +0900, Tetsuo Handa wrote: > [...] it is possible to trigger OOM lockup and/or soft lockups when > many threads concurrently called warn_alloc() (in order to warn > about memory allocation stalls) due to current implementation of > printk(), and it is difficult to obtain useful information due to > limitation of synchronous warning approach. > > [...] > > Signed-off-by: Tetsuo Handa > Reported-by: Cong Wang > Reported-by: yuwang.yuwang > Reported-by: Johannes Weiner > Cc: Michal Hocko > Cc: Vlastimil Babka > Cc: Mel Gorman > Cc: Dave Hansen > Cc: Sergey Senozhatsky > Cc: Petr Mladek It would have been nice to be able to fix it instead, because there is value in having the lockup detection. But it's true that it currently causes more problems than it solves. Back to the drawing board for now. Acked-by: Johannes Weiner Thanks Tetsuo! -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org