Received: by 10.213.65.68 with SMTP id h4csp1242377imn; Thu, 22 Mar 2018 20:00:16 -0700 (PDT) X-Google-Smtp-Source: AG47ELsc4BCP5VhNjDE92lw7xg5mCOOp6PODQZd/oOgdLJbMiyCPvQ2+00BGxBjKYuRJ82TC+utY X-Received: by 10.98.141.65 with SMTP id z62mr22680809pfd.129.1521774016366; Thu, 22 Mar 2018 20:00:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521774016; cv=none; d=google.com; s=arc-20160816; b=MU5L+sOeL6zedW3YTSdtlwtFVmm2DTwLOkzI56A8wxnDGfBWfOBwtwaDyJAFBX3iHd warfkzB1T5cA+7OySBnkH3rR6gFQlQuuzAgU6P83pUVLrJ6PHz6kYaZ/X2VeX6pLDZ75 l0DJLdfhcUF/iDITVS51PigtedwiHkqM+BpLHNv4kaKscCVDyr6fvb/oFue5j0QzGRMa s2lWW4AafK6fBY3/62NJaGYf0PKA9VZd710WUoSlTDmfSSftn0UY31BdUH7v3vAoDf9D pOIZ75Ll7zKHOW5XEdoM7UbQiM3C4tzpJKkKnrAbodo8w0B2Gfi88nx0sACoW7wdshCN t1Mg== 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 :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from :arc-authentication-results; bh=mMOKzlkCNRGs2echblWBpjceTHoJmE+KEhkqBq0U7AY=; b=qPTsJWkmGRHmTq0EKMAjxYvaixaI8bQHucvI5ZGww8OGeeqidN7JbQgA0BxVVmyOps o2Om0OqxwmCnhtwmY2ixWuxtx6tgs7TVOY/UGuqwB8snJ9XwybWUy7osYBiqdIJ/hK/R XUk6YFpGpTsQrURKR4r5ZuS7twkS00DY0rmL3napnjjLzHFQ2zILejVJj8t/fovAUpoU VinoT0bsHLdIHJN48pKV0RN4g9cP6baa1Okyg91l5GfruQZk6QRt5llzq0DR9CoghpkH 1j4TOitBAqXbMQqMbnN3gqCGSHok8spyeX/oTiGbXTw1zGyKLBVNwD37waYf9FHPI+lu vKqA== ARC-Authentication-Results: i=1; mx.google.com; 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 n12si5420190pgc.316.2018.03.22.20.00.01; Thu, 22 Mar 2018 20:00:16 -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; 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 S1751889AbeCWC65 (ORCPT + 99 others); Thu, 22 Mar 2018 22:58:57 -0400 Received: from mx22.baidu.com ([220.181.50.185]:39083 "EHLO baidu.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1751758AbeCWC64 (ORCPT ); Thu, 22 Mar 2018 22:58:56 -0400 Received: from BC-MAIL-HUB08.internal.baidu.com (unknown [172.31.57.52]) by Forcepoint Email with ESMTPS id 45D66B220F1A5; Fri, 23 Mar 2018 10:58:48 +0800 (CST) Received: from BC-MAIL-M28.internal.baidu.com ([169.254.4.53]) by BC-MAIL-HUB08.internal.baidu.com ([172.31.57.52]) with mapi id 14.03.0382.000; Fri, 23 Mar 2018 10:58:37 +0800 From: "Li,Rongqing" To: "Li,Rongqing" , Michal Hocko CC: "linux-kernel@vger.kernel.org" , "linux-mm@kvack.org" , "cgroups@vger.kernel.org" , "hannes@cmpxchg.org" , "Andrey Ryabinin" Subject: =?utf-8?B?562U5aSNOiDnrZTlpI06IFtQQVRDSF0gbW0vbWVtY29udHJvbC5jOiBzcGVl?= =?utf-8?Q?d_up_to_force_empty_a_memory_cgroup?= Thread-Topic: =?utf-8?B?562U5aSNOiBbUEFUQ0hdIG1tL21lbWNvbnRyb2wuYzogc3BlZWQgdXAgdG8g?= =?utf-8?Q?force_empty_a_memory_cgroup?= Thread-Index: AQHTv1/VbuxxIhYpnkemi1IzBVlLeqPXTxaA//+IvQCAAIne0IAEx0wg Date: Fri, 23 Mar 2018 02:58:36 +0000 Message-ID: <2AD939572F25A448A3AE3CAEA61328C2374832C1@BC-MAIL-M28.internal.baidu.com> References: <1521448170-19482-1-git-send-email-lirongqing@baidu.com> <20180319085355.GQ23100@dhcp22.suse.cz> <2AD939572F25A448A3AE3CAEA61328C23745764B@BC-MAIL-M28.internal.baidu.com> <20180319103756.GV23100@dhcp22.suse.cz> <2AD939572F25A448A3AE3CAEA61328C2374589DC@BC-MAIL-M28.internal.baidu.com> In-Reply-To: <2AD939572F25A448A3AE3CAEA61328C2374589DC@BC-MAIL-M28.internal.baidu.com> Accept-Language: zh-CN, en-US Content-Language: zh-CN X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [172.31.62.19] x-baidu-bdmsfe-datecheck: 1_BC-MAIL-HUB08_2018-03-23 10:58:49:967 x-baidu-bdmsfe-viruscheck: BC-MAIL-HUB08_GRAY_Inside_WithoutAtta_2018-03-23 10:58:45:006 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org DQoNCj4gLS0tLS3pgq7ku7bljp/ku7YtLS0tLQ0KPiDlj5Hku7bkuro6IGxpbnV4LWtlcm5lbC1v d25lckB2Z2VyLmtlcm5lbC5vcmcNCj4gW21haWx0bzpsaW51eC1rZXJuZWwtb3duZXJAdmdlci5r ZXJuZWwub3JnXSDku6PooaggTGksUm9uZ3FpbmcNCj4g5Y+R6YCB5pe26Ze0OiAyMDE45bm0M+ac iDE55p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