Received: by 10.223.176.46 with SMTP id f43csp550381wra; Thu, 18 Jan 2018 22:02:20 -0800 (PST) X-Google-Smtp-Source: ACJfBouFBSq2gP9pVbh7SDQFfRnSYcfTgX/q2GE2mlpMMKsjhL8qcefB6GvABoDH+e1ukQjM21Kv X-Received: by 10.98.20.20 with SMTP id 20mr2877510pfu.152.1516341739909; Thu, 18 Jan 2018 22:02:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516341739; cv=none; d=google.com; s=arc-20160816; b=asE2ikjF0Ms/iYy8yP7FU1pJ8rADXY8mzkg2N/bydZRmAzvbITjqpAyo5XAF5ZM0gE KiyYdUBA06v1gp6jAcXQDSKWqjNc08LCPsO0zg4CW086Bo2b3fYaeq40ymHERMj0AWiL mbEvF6Fetp8elCTUfuOaQxFP6AN0k634jRKm3HuAir7RQqjRO0KpZn/j0YJFBmjuXVro BF6JZ4BW/a6phVrqM7/9yCSJUkn8SWZO+uF2lbDQbQIbxAday1K/r97vrF31Rw3gpUMh 8e3+lgtkkkr45ltB38Kj8DugfrsBbvHqD7ygy2kUgtRPwS7H3vzksaS/K6MC5LhqdeWD DrMw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :spamdiagnosticmetadata:spamdiagnosticoutput:content-language :accept-language:in-reply-to:references:message-id:date:thread-index :thread-topic:subject:cc:to:from:dkim-signature :arc-authentication-results; bh=wt7VhzR1paRCn10JCZgTRA2d+hMMsBeoQ+gf9q6A83A=; b=FVJbTZjCi3OHaOeokX4aCUl7YCT0kjBCKBvbJbRHXxLZrPbxk019cKubRT0xa0F36+ iUZg74t/+2u2gYXPN7bdMwrRq9YrCWm/EFDQyNfzbFL7aC1MjjpMs0seVdsXLc7e73BG Udz7MxSAHAbiNSOJp3aHXMap7iOzMLRX3nYLF7rymPI74Cvv8l6mYteb0SBJJHnGYGkC wIcuP5tvwvJ2tWiKd2Dha4zRg8Qfxkr6GEcoQ8DJ11bGl5kT7p0C9U5WxANUB+c48PIg OqSkGrws5q4bpM/N08Omnk+5Rahb/Muf9LFf4Tz7y4lpiID1GEgV3o8axIYmwLPQH60N qxtg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amdcloud.onmicrosoft.com header.s=selector1-amd-com header.b=MoC1CYCT; 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 z31-v6si560275plb.217.2018.01.18.22.02.05; Thu, 18 Jan 2018 22:02:19 -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=@amdcloud.onmicrosoft.com header.s=selector1-amd-com header.b=MoC1CYCT; 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 S1751466AbeASGBd (ORCPT + 99 others); Fri, 19 Jan 2018 01:01:33 -0500 Received: from mail-sn1nam01on0049.outbound.protection.outlook.com ([104.47.32.49]:57011 "EHLO NAM01-SN1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1750751AbeASGB2 (ORCPT ); Fri, 19 Jan 2018 01:01:28 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amdcloud.onmicrosoft.com; s=selector1-amd-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=wt7VhzR1paRCn10JCZgTRA2d+hMMsBeoQ+gf9q6A83A=; b=MoC1CYCThLRaNwQT0KZPCw10h7mPLCQQlgWRhXiRuJPAn67/AS/ZBGFo+EL2C9dKdKowborYhIl9hBRGPqgGgTISe2krcAgTRGsa7oAdF4/8szTWC4dpERMGh6N/oroFYjTBycAzydrkhR+pIjp2UlprUOViG+i8/6DuK5F8bdY= Received: from DM5PR1201MB0121.namprd12.prod.outlook.com (10.174.106.138) by DM5PR1201MB0121.namprd12.prod.outlook.com (10.174.106.138) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.407.7; Fri, 19 Jan 2018 06:01:27 +0000 Received: from DM5PR1201MB0121.namprd12.prod.outlook.com ([10.174.106.138]) by DM5PR1201MB0121.namprd12.prod.outlook.com ([10.174.106.138]) with mapi id 15.20.0407.012; Fri, 19 Jan 2018 06:01:26 +0000 From: "He, Roger" To: Michal Hocko , "Grodzovsky, Andrey" CC: "linux-mm@kvack.org" , "amd-gfx@lists.freedesktop.org" , "linux-kernel@vger.kernel.org" , "dri-devel@lists.freedesktop.org" , "Koenig, Christian" Subject: RE: [RFC] Per file OOM badness Thread-Topic: [RFC] Per file OOM badness Thread-Index: AQHTkHxgPg64izhP20K6UriPv5hpMqN52psAgAAD3ICAANNigA== Date: Fri, 19 Jan 2018 06:01:26 +0000 Message-ID: References: <1516294072-17841-1-git-send-email-andrey.grodzovsky@amd.com> <20180118170006.GG6584@dhcp22.suse.cz> <20180118171355.GH6584@dhcp22.suse.cz> In-Reply-To: <20180118171355.GH6584@dhcp22.suse.cz> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=Hongbo.He@amd.com; x-originating-ip: [116.228.147.241] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1;DM5PR1201MB0121;7:Lbwf8kLIMQwfXOpVqzyDDe28OKv6FOUT320FcMI1QihkVe/gqO+ZqmPiNka5xMKDDuEBwMO+ZkxQnqlvvbUBQU1wiYaFT3S/QYCb2cS2kcmKx4Beqvv/9jCEz30hOquA8btHA/4IiisLQsbaj3ehdXueUAnUSTxbTvrSm059HLxbAglsWJndHw6ozgZmHqIr0wSuvdKyY/veUM8oYhJkblahsKvivvvFNNX5wCGZT58LaE3j56huosytIEULa1Oe;20:fhbar0ydMi13J8nd+xW9Vj6G9k/es2S36WhzkkXjTnuCEUZHD+fpC1jntTS01t3mlrPIXCBBObTr+QXN9O9cb/dW/zRqJODurf4gr1TMVliI8v2c394Pu9ojSSFfroYwPw7V0BLR7Wt4L3w1aQv72OeyoCfsOE9HZHlMJr+ymgEUpyLJ9hpyK8yxuF7XODnD6YSTmZDkyRBuSqFSP7/5198FEplFdZK/9qKtGB5/a6SUtWy8vyIO0BexrrdsIExx x-ms-exchange-antispam-srfa-diagnostics: SSOS;SSOR; x-forefront-antispam-report: SFV:SKI;SCL:-1;SFV:NSPM;SFS:(10009020)(366004)(396003)(376002)(39380400002)(346002)(39860400002)(13464003)(199004)(189003)(377424004)(76104003)(106356001)(97736004)(66066001)(105586002)(53936002)(55016002)(3846002)(2906002)(6436002)(6306002)(6116002)(9686003)(14454004)(966005)(478600001)(72206003)(229853002)(316002)(110136005)(59450400001)(53546011)(7696005)(6506007)(76176011)(102836004)(8676002)(8936002)(54906003)(81166006)(81156014)(68736007)(33656002)(5660300001)(3280700002)(3660700001)(2950100002)(6636002)(7736002)(25786009)(6246003)(305945005)(2900100001)(74316002)(4326008)(86362001)(26005)(99286004)(77096007);DIR:OUT;SFP:1101;SCL:1;SRVR:DM5PR1201MB0121;H:DM5PR1201MB0121.namprd12.prod.outlook.com;FPR:;SPF:None;PTR:InfoNoRecords;A:1;MX:1;LANG:en; x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: bcc62821-43fc-40d3-c8ca-08d55f02137a x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:(7020095)(4652020)(48565401081)(5600026)(4604075)(3008032)(2017052603307)(7153060)(7193020);SRVR:DM5PR1201MB0121; x-ms-traffictypediagnostic: DM5PR1201MB0121: x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(9452136761055)(767451399110)(217544274631240); x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(6040470)(2401047)(5005006)(8121501046)(10201501046)(3231023)(2400072)(944501161)(93006095)(93001095)(3002001)(6055026)(6041268)(20161123564045)(20161123560045)(20161123562045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123558120)(6072148)(201708071742011);SRVR:DM5PR1201MB0121;BCL:0;PCL:0;RULEID:(100000803101)(100110400095);SRVR:DM5PR1201MB0121; x-forefront-prvs: 0557CBAD84 received-spf: None (protection.outlook.com: amd.com does not designate permitted sender hosts) x-microsoft-antispam-message-info: 1th4oUVHd4KddXO4iDDIMqM75IZXm3oqV3TmFKUZFhgxJ4epg+a+O3fCVERVDv1RHc6pjjPHQjsDHzPhfgFo7w== spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: bcc62821-43fc-40d3-c8ca-08d55f02137a X-MS-Exchange-CrossTenant-originalarrivaltime: 19 Jan 2018 06:01:26.3711 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR1201MB0121 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org DQoNCi0tLS0tT3JpZ2luYWwgTWVzc2FnZS0tLS0tDQpGcm9tOiBhbWQtZ2Z4IFttYWlsdG86YW1k LWdmeC1ib3VuY2VzQGxpc3RzLmZyZWVkZXNrdG9wLm9yZ10gT24gQmVoYWxmIE9mIE1pY2hhbCBI b2Nrbw0KU2VudDogRnJpZGF5LCBKYW51YXJ5IDE5LCAyMDE4IDE6MTQgQU0NClRvOiBHcm9k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