From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932401AbdJZOhy (ORCPT ); Thu, 26 Oct 2017 10:37:54 -0400 Received: from gum.cmpxchg.org ([85.214.110.215]:45360 "EHLO gum.cmpxchg.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932255AbdJZOhx (ORCPT ); Thu, 26 Oct 2017 10:37:53 -0400 Date: Thu, 26 Oct 2017 10:37:37 -0400 From: Johannes Weiner 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" 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> User-Agent: Mutt/1.9.1 (2017-09-22) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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!