Received: by 10.213.65.68 with SMTP id h4csp3261321imn; Tue, 3 Apr 2018 01:31:56 -0700 (PDT) X-Google-Smtp-Source: AIpwx4/2d6O432Vt437PDuxVQbEjzHoVDdJffUGcOcXvvoKm+LWWluSRW3M2jwsS0IdhvsvT/3mw X-Received: by 2002:a17:902:7798:: with SMTP id o24-v6mr2382340pll.349.1522744316891; Tue, 03 Apr 2018 01:31:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522744316; cv=none; d=google.com; s=arc-20160816; b=jS5SjrqhqSo+GJHxvnrUy4K5SBh0Cax0OK5OAmQawcpr0lyUpWMU6uXXl2zMA1x0Ty y/30nbNLKNgpRsuLPjGLgapAd6Ja/Z9fLcruz0hztRekjV0bIfM+Cic4GdvdT570yhQ8 hhF7gVAXbhVZ2TTdsy6SpRAvbN9BVDyjWGXzmZipUiPqhO6BWx1FrhXU9E6xQwl+TgMl 33cZrGvNzzWBu5QxajAJKw8wws30Dx15CTN+iOZkWniCYKQdzgZNUd0kzkh6iPibjFyQ lTT6KL69sjtjRBhWSTLesf1CJbfKhHHkzXisLCLBp258iDUDN/mp3A8vk8CICFrUNKuB 1B7w== 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:message-id:date:thread-index :thread-topic:subject:cc:to:from:arc-authentication-results; bh=9AW02OsC6S7tYuCOYbg0eaznK7msTyAwV/oAg3geLek=; b=l3xyBSglFuhvsgh5HiFd5+uOfPqfrsehm5cfYJLesghBXwG9Lfss91Q/IS0PMWpRYQ LneEIuYRKqRr+tQ+ghtca5WAxcpqiW1BX3+4d7OKS1nMvdPTHcqLbutQ+BKPw3nANUpk JzHLgCxWMvgpkA3OH3RM4KB5bVlRwBvX5ntIuNEuWXhzCioVAcmjUOKUZJMxHFBmYjC5 Xmr2n77yDhb+1Ea7OIhd7zrt1lSTVLngXNIyyWx9nC1+u9AMvfiVlp1taXnrB60RAC8E /gg1OfjwWwMcEnqBpbFVfXEmh+rQiGyA7nk5HW3CT39lEWUTFJ03HgA3GIKhEpzZs8L/ iyXw== 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 h12si938010pfn.300.2018.04.03.01.31.42; Tue, 03 Apr 2018 01:31:56 -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 S1755260AbeDCIaC (ORCPT + 99 others); Tue, 3 Apr 2018 04:30:02 -0400 Received: from mx23.baidu.com ([61.135.165.120]:39504 "EHLO baidu.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1754969AbeDCI35 (ORCPT ); Tue, 3 Apr 2018 04:29:57 -0400 Received: from BC-MAIL-HUB02.internal.baidu.com (unknown [172.31.56.56]) by Forcepoint Email with ESMTPS id A67CB8C26BCD1; Tue, 3 Apr 2018 16:29:45 +0800 (CST) Received: from BC-MAIL-M28.internal.baidu.com ([169.254.4.53]) by BC-MAIL-HUB02.internal.baidu.com ([172.31.56.56]) with mapi id 14.03.0382.000; Tue, 3 Apr 2018 16:29:41 +0800 From: "Li,Rongqing" To: Michal Hocko CC: "hannes@cmpxchg.org" , "vdavydov.dev@gmail.com" , "cgroups@vger.kernel.org" , "linux-mm@kvack.org" , "linux-kernel@vger.kernel.org" Subject: re: [PATCH] mm: avoid the unnecessary waiting when force empty a cgroup Thread-Topic: [PATCH] mm: avoid the unnecessary waiting when force empty a cgroup Thread-Index: AdPLJMHeeMKUHXBDROio5VQy2ewJrQ== Date: Tue, 3 Apr 2018 08:29:39 +0000 Message-ID: <2AD939572F25A448A3AE3CAEA61328C23756E4F1@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.16] x-baidu-bdmsfe-datecheck: 1_BC-MAIL-HUB02_2018-04-03 16:29:46:750 x-baidu-bdmsfe-viruscheck: BC-MAIL-HUB02_GRAY_Inside_WithoutAtta_2018-04-03 16:29:45:362 Content-Type: text/plain; charset="gb2312" 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 DQoNCj4gLS0tLS3Tyrz+1K28/i0tLS0tDQo+ILeivP7IyzogTWljaGFsIEhvY2tvIFttYWlsdG86 bWhvY2tvQGtlcm5lbC5vcmddDQo+ILeiy83KsbzkOiAyMDE4xOo01MIzyNUgMTY6MDUNCj4gytW8 /sjLOiBMaSxSb25ncWluZyA8bGlyb25ncWluZ0BiYWlkdS5jb20+DQo+ILOty806IGhhbm5lc0Bj bXB4Y2hnLm9yZzsgdmRhdnlkb3YuZGV2QGdtYWlsLmNvbTsNCj4gY2dyb3Vwc0B2Z2VyLmtlcm5l bC5vcmc7IGxpbnV4LW1tQGt2YWNrLm9yZzsNCj4gbGludXgta2VybmVsQHZnZXIua2VybmVsLm9y Zw0KPiDW98ziOiBSZTogW1BBVENIXSBtbTogYXZvaWQgdGhlIHVubmVjZXNzYXJ5IHdhaXRpbmcg d2hlbiBmb3JjZSBlbXB0eSBhDQo+IGNncm91cA0KPiANCj4gT24gVHVlIDAzLTA0LTE4IDE1OjEy OjA5LCBMaSBSb25nUWluZyB3cm90ZToNCj4gPiBUaGUgbnVtYmVyIG9mIHdyaXRlYmFjayBhbmQg ZGlydHkgcGFnZSBjYW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