Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp13675991ybl; Sun, 29 Dec 2019 17:52:31 -0800 (PST) X-Google-Smtp-Source: APXvYqy0Ekbk1Kh0ASr9LjoPQHFo3bEUVYu7eHGmc7AoTZ9z+DRcr3FHx9xIs+heIONA3GjJzSUE X-Received: by 2002:a9d:65cf:: with SMTP id z15mr74120079oth.238.1577670751182; Sun, 29 Dec 2019 17:52:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1577670751; cv=none; d=google.com; s=arc-20160816; b=syDj+Itbvmaol0tH/olsXMTOUPN3VTR0Q48GOpB98wYU+SCBZO6JiV+t/DDmYVOQuX LTDlUXDOhrZddHfHXT+90CIu5Yvevn9KZLqvUfP8NdBgTmWit4Ch45gBJMHs8mAqF2Iq 85H41MjB/5DXtjnUKlHCNQZYaWzR8x37jWgZUCU/qySn5zWhRT5vKktEXCFL5GMA1FPA MmHaS2jPbdv7lrF93r04akxouQMmXtzLsU9h1SMyVQlo/SfnYn/AKoitIQwffEZscDWE M/pPmYfCOopixoYvXDP+EiZ/McaW7Ux0MJuVHxZ9B2mrIXWhyjT0YOU0xk4XmIUMuxLP 0ykg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:to:in-reply-to:cc:references:message-id :date:subject:mime-version:from:content-transfer-encoding :dkim-signature; bh=DQz0FjxnkcrZB95uhqUPghs+uepx++Cg0e03CfkfPoI=; b=g9h9bbxx7DzNh+z5iGVF2gPpevpeDQdxMTL5krbfJ3v0DVpmOQXC8sELZyCXzwFkDZ aFZaZbeqZrAMSqnLaZYJ4IPZwDuMVVr1XGPw4pZnWCA4El4rfuSDZizes1Twd34mabW8 eefMOMGAQLXvpndF3D2u9Z8lGwTq5LR/9RvfVTaO7CxbNazC0uV4saFd0zj0YZPjO9QP BFkdVGKF2e8211jc63GRfT0qNbf0oRQwG8Hzi2WoQmI3X7DCOheuvXrwTlP4JZzA7X2c VZerliV83xXfduE/nKtSHIumb1jL4KB48zGcz0quho5KyA2TFPIcEmSyM/KT6wkiAZ6n PY+g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lca.pw header.s=google header.b="NQAQr7m/"; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p6si9567683oig.88.2019.12.29.17.52.19; Sun, 29 Dec 2019 17:52:31 -0800 (PST) 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=pass header.i=@lca.pw header.s=google header.b="NQAQr7m/"; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726728AbfL3BvL (ORCPT + 99 others); Sun, 29 Dec 2019 20:51:11 -0500 Received: from mail-qt1-f194.google.com ([209.85.160.194]:34681 "EHLO mail-qt1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726343AbfL3BvL (ORCPT ); Sun, 29 Dec 2019 20:51:11 -0500 Received: by mail-qt1-f194.google.com with SMTP id 5so28798451qtz.1 for ; Sun, 29 Dec 2019 17:51:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lca.pw; s=google; h=content-transfer-encoding:from:mime-version:subject:date:message-id :references:cc:in-reply-to:to; bh=DQz0FjxnkcrZB95uhqUPghs+uepx++Cg0e03CfkfPoI=; b=NQAQr7m/F84JH6xZgLELtcSkwP8nDBWDreyVi/HwY6F+R43tc1G6CqQ1ZDu4ZZlufq 3Xb8mxcqIxjSyfjiAkSJ603jB/Iio7i+XeJiG5MjAsV2E7hiLnNEKcLzmeEipmCg1Yut h41C8++kK5khfZ1ScnrCeyJGectHWrMS2ZNrxeyGnLhDoz2k0QtWDU7AydNZctkJI62n NTHF7uI+hScdljY+KOxgYAXbn8rZ8PP83oIIS7vWGV5y1RdsKKMflYrlbo0VevLH+nOX R0H8MB/RhTNYwvUjha/DLBj08zFieM+CNEV1v1ORLVREf2uGTMxN/s/RkqcLp7rJ2eBn 2jJg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:content-transfer-encoding:from:mime-version :subject:date:message-id:references:cc:in-reply-to:to; bh=DQz0FjxnkcrZB95uhqUPghs+uepx++Cg0e03CfkfPoI=; b=Cq5s8wnMJheuE7oDejYWTOLJ4w1gjkTLOvQLj8GXzZttJ7iyU7DHTwvovD9X9B1J4s 03Tr9asLW41hYssZuvZBH1jjWASjW2ND4MLMWWicnBsvL3TLVmznIOPp1dCGKMOBv3ue bUUn5Gx15ULSF317KjHN7ITt71fgs1rRZOS4OP5K/r7OD/vKVsyu6Yx7fda6s00cguaS PzBYu6506cHgSLPs8NF5HscRZE/88OXaHEPTt2OdNm08ji5Rdr7UWhqp1D1aNvZ8yaqR 0uHEx/WtlZ3uDUe1ohDw9k3aAmJmhJfeALBeV42McKfxk6Qv6NrMD20wlDm8VeHnbumr 3+Ug== X-Gm-Message-State: APjAAAXs3IK0LG29mpmPrAEaLuynYOA1nJxdOaXB3iOeHDE3C0FCAuqw cTnr6EffDO/uJWr2srh1IHBFdA== X-Received: by 2002:ac8:1109:: with SMTP id c9mr29537417qtj.251.1577670670398; Sun, 29 Dec 2019 17:51:10 -0800 (PST) Received: from [192.168.1.183] (pool-71-184-117-43.bstnma.fios.verizon.net. [71.184.117.43]) by smtp.gmail.com with ESMTPSA id q126sm12015666qkd.21.2019.12.29.17.51.09 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 29 Dec 2019 17:51:09 -0800 (PST) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit From: Qian Cai Mime-Version: 1.0 (1.0) Subject: Re: [PATCH] mm/page_owner: print largest memory consumer when OOM panic occurs Date: Sun, 29 Dec 2019 20:51:08 -0500 Message-Id: References: <1577669436.25204.8.camel@mtkswgap22> Cc: Andrew Morton , Michal Hocko , linux-kernel@vger.kernel.org, linux-mm@kvack.org, linux-mediatek@lists.infradead.org, wsd_upstream@mediatek.com In-Reply-To: <1577669436.25204.8.camel@mtkswgap22> To: Miles Chen X-Mailer: iPhone Mail (17C54) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > On Dec 29, 2019, at 8:30 PM, Miles Chen wrote: > > Yes, printing top 10 will be too much. That's why I print only the > greatest consumer, and test if this approach works. > > I will resend this patch after the break. Let's wait for others' > comments? Sure, but to make my point clear. Nacked-by: Qian Cai