Received: by 10.213.65.68 with SMTP id h4csp1423062imn; Mon, 19 Mar 2018 03:54:25 -0700 (PDT) X-Google-Smtp-Source: AG47ELs81FR+IGA/WeGD49Y+vFCU6/kawvpNbw1SJ2jwoNFUI6RHdzNIF8MGdNT8PXlZLnWoglMS X-Received: by 2002:a17:902:aa48:: with SMTP id c8-v6mr11716193plr.361.1521456865009; Mon, 19 Mar 2018 03:54:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521456864; cv=none; d=google.com; s=arc-20160816; b=eFmgyLJLY9fTVNqmUjMkPiaAI+M4LS25CtAL2kFvHnoml8pBqveHfntsE69QfL4blC mB7u5CVcvwBJdb2Oyq0Of+DTYZxvKK8uithrpIzkWbuuHm+aQ7u8s1+Gvrw7L2HenmJM vgmD0t3BBafMu6lqBowgzReWc76wPLG0z8cYYxu6hksvJqlaYkIbdT6tRnUiew+RGJs3 H5aFXpNBNZU4sT+hUBrD9JqwIXdRa1SFRuamePWeDr7RGlnwaMN2p1PfyFs3o05jO5pM 3bmAprHl+Ta0VmS/M6S4uzaM/Hi+1sLjYB0tzXvPJKYGd4lvh5iP9IqnnyJiWp0AU7Ku s93w== 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=YgbXOzoC+7OmTF9cWKWLti8I82HnTqrHemRNCObDRYI=; b=xz+hTBFhzNl4b+gazPfixRYp5U/oHoz7jPW2nzaqXUTCAWwYwqcqq0IW/UOHycaJxD oQQnlWMl2B14zVgTZ0iexU0bl594bPAnz1O6NN6/cx0AeRAQHM3EBqK7hqODNehLUmTg bteJcqcrlSrGIrvyGSyCcXIadCRstYE9UXbmD+ZNdw+Mr7jO/QHhxE/xjx+WsSWa6e3c vFbiyG8j6CtgpLeQ8r3MMGRr7C4Bo80pBvbzi+TkgvXVdBkYgdJjTCEjaGP9n4f5Dmj1 bd42FUVHF2b+hyiAHAxa6cFI6NYm/9eGk0AQvh4E/E+pfKj4nmj3lUz5WStM5KHGEj4s AgqQ== 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 e6si9240320pgt.721.2018.03.19.03.54.10; Mon, 19 Mar 2018 03:54:24 -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 S932969AbeCSKvt (ORCPT + 99 others); Mon, 19 Mar 2018 06:51:49 -0400 Received: from mx22.baidu.com ([220.181.50.185]:43342 "EHLO baidu.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S932959AbeCSKvr (ORCPT ); Mon, 19 Mar 2018 06:51:47 -0400 X-Greylist: delayed 3052 seconds by postgrey-1.27 at vger.kernel.org; Mon, 19 Mar 2018 06:51:46 EDT Received: from BC-MAIL-HUB01.internal.baidu.com (unknown [172.31.56.26]) by Forcepoint Email with ESMTPS id BA02A33FF7D80; Mon, 19 Mar 2018 18:51:42 +0800 (CST) Received: from BC-MAIL-M28.internal.baidu.com ([169.254.4.53]) by BC-MAIL-HUB01.internal.baidu.com ([172.31.56.26]) with mapi id 14.03.0382.000; Mon, 19 Mar 2018 18:51:43 +0800 From: "Li,Rongqing" To: 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//+IvQCAAIne0A== Date: Mon, 19 Mar 2018 10:51:42 +0000 Message-ID: <2AD939572F25A448A3AE3CAEA61328C2374589DC@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> In-Reply-To: <20180319103756.GV23100@dhcp22.suse.cz> Accept-Language: zh-CN, en-US Content-Language: zh-CN X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [172.31.62.17] x-baidu-bdmsfe-datecheck: 1_BC-MAIL-HUB01_2018-03-19 18:51:44:215 x-baidu-bdmsfe-viruscheck: BC-MAIL-HUB01_GRAY_Inside_WithoutAtta_2018-03-19 18:51:43:341 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/ku7YtLS0tLQ0KPiDlj5Hku7bkuro6IE1pY2hhbCBIb2NrbyBb bWFpbHRvOm1ob2Nrb0BrZXJuZWwub3JnXQ0KPiDlj5HpgIHml7bpl7Q6IDIwMTjlubQz5pyIMTnm l6UgMTg6MzgNCj4g5pS25Lu25Lq6OiBMaSxSb25ncWluZyA8bGlyb25ncWluZ0BiYWlkdS5jb20+ DQ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