Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp13665208ybl; Sun, 29 Dec 2019 17:33:25 -0800 (PST) X-Google-Smtp-Source: APXvYqzMsUJMZrva9qavd06oLTr2XBm1hHczkqoCLF263zLZ0qdfcTUHq3gVqWqQ0D48+0B2EzBB X-Received: by 2002:a9d:1e4:: with SMTP id e91mr67324071ote.324.1577669605762; Sun, 29 Dec 2019 17:33:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1577669605; cv=none; d=google.com; s=arc-20160816; b=G4Py/FRMvDm/gbNMw9tQXncx1X+j8tDtLjhyjThhh8wZwQrgriSf0CQBD2HMFZB5Hv E0zQjUh+hZr9wSiXhFi9W43WQOOIOiEUw2pjiRFMezaAbeI7GjpNWdRc4fXkeFjximQX rIQOZjV/E5f3WTCKHQswfC0X9UlOCGlFtD8hz8MlPsSyngYvl+/BY7udtKQ58UVxTONe pQk5bGj1zkkQy4MezByQT3SQeeopewtwL7bonO8weQvLQ9xPZdfnkZ7oNblFJCAaUTHP BFdprBNIuZ1sEboc+UIO4P2lONoByk2eYbJ7Eyv5+U8lmcKHy1JmikC4Wkw72765//re oZgA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:date:cc:to:from:subject:message-id :dkim-signature; bh=OpBMs91oE19syjj1K1kvYCtFSWX7sZYdpKP8h4EDQcE=; b=Wv1KCyJxTFirDxpmo28kCLdP24SNutOxBcu3P9Pxbv57W79lr2Pw4sEGLc8Tv2NrIA dMiNoZGSp6E0ZzK28Vli4kzXC8WEUMq3Qm3wQIrmbhMrXvTjcsLibfRD4nKc4AzM1OCm hCkJGashTRQC51b180AJS1f7tHVv/O2x4Ss54M00l6ubYBVo/HTo8HMll8qeJoIMTUAP JUkIhllMSzyrpvM4a8oYmOxWFpiBxrOuxvjcBIsuCdW7IaIYZ9renOkX2xY5YQWQsu5r DdDpo5NvVyUQsaviV3zapNIunQ9pjbtbdW4/pE9EQrI2AQ4CgSo5CzSlkb1+4o2MPNMZ EMbQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=KS+Zr928; 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=pass (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j20si17295281oie.212.2019.12.29.17.32.49; Sun, 29 Dec 2019 17:33:25 -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=@mediatek.com header.s=dk header.b=KS+Zr928; 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=pass (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726643AbfL3Bam (ORCPT + 99 others); Sun, 29 Dec 2019 20:30:42 -0500 Received: from mailgw02.mediatek.com ([210.61.82.184]:15025 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1726119AbfL3Bam (ORCPT ); Sun, 29 Dec 2019 20:30:42 -0500 X-UUID: c9e57f22e32b448986fb37765e38f1ee-20191230 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mediatek.com; s=dk; h=Content-Transfer-Encoding:MIME-Version:Content-Type:References:In-Reply-To:Date:CC:To:From:Subject:Message-ID; bh=OpBMs91oE19syjj1K1kvYCtFSWX7sZYdpKP8h4EDQcE=; b=KS+Zr9282cue6aCg40/OGkKy2BiSm9yaeDdRJAmjLatZE5//AaY+t3fuLV0RYls8QEq2ioC2ICGkOfxy7pnD4CEDsnUkQxZtAAMfqyc0vMULBReWDGMOIrYuewGsLLYAi9QQYSrBFHShlbZufpVkMlQO/c01IHTsW6ufwpo74LA=; X-UUID: c9e57f22e32b448986fb37765e38f1ee-20191230 Received: from mtkcas06.mediatek.inc [(172.21.101.30)] by mailgw02.mediatek.com (envelope-from ) (Cellopoint E-mail Firewall v4.1.10 Build 0809 with TLS) with ESMTP id 1302598069; Mon, 30 Dec 2019 09:30:37 +0800 Received: from MTKCAS06.mediatek.inc (172.21.101.30) by mtkmbs07n2.mediatek.inc (172.21.101.141) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Mon, 30 Dec 2019 09:30:13 +0800 Received: from [172.21.77.33] (172.21.77.33) by MTKCAS06.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1395.4 via Frontend Transport; Mon, 30 Dec 2019 09:29:22 +0800 Message-ID: <1577669436.25204.8.camel@mtkswgap22> Subject: Re: [PATCH] mm/page_owner: print largest memory consumer when OOM panic occurs From: Miles Chen To: Qian Cai CC: Andrew Morton , Michal Hocko , , , , Date: Mon, 30 Dec 2019 09:30:36 +0800 In-Reply-To: <2EA70B54-A7E1-4C5A-A447-844A3FEA7E93@lca.pw> References: <1577432670.4248.3.camel@mtkswgap22> <2EA70B54-A7E1-4C5A-A447-844A3FEA7E93@lca.pw> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.2.3-0ubuntu6 MIME-Version: 1.0 X-MTK: N Content-Transfer-Encoding: base64 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org T24gRnJpLCAyMDE5LTEyLTI3IGF0IDA4OjQ2IC0wNTAwLCBRaWFuIENhaSB3cm90ZToNCj4gDQo+ ID4gT24gRGVjIDI3LCAyMDE5LCBhdCAyOjQ0IEFNLCBNaWxlcyBDaGVuIDxtaWxlcy5jaGVuQG1l ZGlhd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