Received: by 10.223.164.221 with SMTP id h29csp819691wrb; Thu, 26 Oct 2017 07:38:33 -0700 (PDT) X-Google-Smtp-Source: ABhQp+R5QK+GDujXNF6QAWQeUmyvV11CudOrMvCNNxZ+kqbGSccTQ1U3CFTBJ7SaZHf3z/nZ6BYc X-Received: by 10.98.36.23 with SMTP id r23mr5588744pfj.256.1509028713627; Thu, 26 Oct 2017 07:38:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1509028713; cv=none; d=google.com; s=arc-20160816; b=CsnZo1HFD7LDlAGkHXJ8Lx2++W8wwTEXS8KPczNFbtk5mzF4ca/9LCHxWBMi/w0fG+ 8uPqzfl/cWHz2WBf00zK2x8MinIKWVc53wPkWCEq7T+xnmbpbATx0Q0KNi8bHLglBtSr MRiOY2rxFDUA7FWGvorHqwFYSq4yngMdoGbakZeIUbL9wKqeA0ZbX5hvjgm8XVWUUTd/ CjBTAA6AMo0McjFDfSxFiE/85l5W5UW5AvNnBL4115NFeY63Cz0n3qIacdRleI89sbG4 5MtW6QF1tJOqVVjQ2bsDVG0JlXP1KGDpMle6Y3aY3rBMp4/qpXbnfKIb/6XeL1gU7gn6 khrA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature:arc-authentication-results; bh=QNQp9E6fYSLzjWLFHU0JDjyvEHG1r+NQTxBSUNWRQoU=; b=nlHvxNwahTdQSnCLW/rnTMPVOkPH17h+qJ8T/4aiWBg0OWPlLpE7w0LDBWXozlaKWw 9G+8IDIHRMV4OoPIh7eAT5/WHnham/kPgjNhOw6Ycj2qkrTclKJC/Efcz6EWEOWbPAqS L2v1GjVxTed+ag+X0krj1b7sApurh0QPWEvolOi071GvnVu4/nbuw5A68eCYrM+TNgKc KvfAxwoU7dQd2ECETNpigp7R6rFyJs2wPlhowLGsBUi/FUxS5qUnwozQbRWst2lrPezU JQ4R8GzYbAXEfGH8ptJPwBuRHWIQW5f4EzdhtTePfudAobpUU1ffTUigaCogXzrBXAO0 KNrQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@cmpxchg.org header.s=x header.b=jiQRTOX4; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=cmpxchg.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u131si3434815pgc.272.2017.10.26.07.38.18; Thu, 26 Oct 2017 07:38:33 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@cmpxchg.org header.s=x header.b=jiQRTOX4; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=cmpxchg.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932397AbdJZOhy (ORCPT + 99 others); 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 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=cmpxchg.org ; s=x; h=In-Reply-To:Content-Type:MIME-Version:References:Message-ID:Subject: Cc:To:From:Date:Sender:Reply-To:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=QNQp9E6fYSLzjWLFHU0JDjyvEHG1r+NQTxBSUNWRQoU=; b=jiQRTOX4J9wlIADS8SzAfbNkFE YyRa50WLdwUR+h7r9c8IN4OUBwFyHnkVpE1fP7ezSsBmBFuSC4/ITp6C3dsm2ewRr/0Pc4JkNOJ12 RR2A2VeeCqbZqahmiNW8ZUDsKptsdxrfVtDD2yP1OP3TU+0zkv2X62elk6nGBCdXBxxE=; 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 Precedence: bulk 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! From 1582320188643777408@xxx Thu Oct 26 11:42:04 +0000 2017 X-GM-THRID: 1582319483972251768 X-Gmail-Labels: Inbox,Category Forums