Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp3293315pxj; Tue, 11 May 2021 00:49:53 -0700 (PDT) X-Google-Smtp-Source: ABdhPJySIMkItnDaWfhOwYtYHWn4JkQgN3q4kVNhAL1YWu/4jOyKt/0Yn58Rgu08sDsuY/VXM68o X-Received: by 2002:a17:907:2708:: with SMTP id w8mr30430985ejk.0.1620719393701; Tue, 11 May 2021 00:49:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620719393; cv=none; d=google.com; s=arc-20160816; b=DOgKPe1ncIdsG4Gvar2H0aLPyylMFY4UL5n4tMM0Ub0Yo9P1hM2tqwJHiPM1sUwpYc ELNS7A6NUccrkMYewVK2jrZafiEPglSK+jEjy56o6Mu/14rHfOZ8y4739WNqw8BMo8Wf NVyGN94UbxWjJDk7Ls2Xj4wN16BHH0EqlGN7YYeua4jrPxarmlPVk2g4Vc5jHJF93mcT 3m+cBL1VCACH2CzhRZIGXZ5wW6yTlUoIdnxQ3tpx1q9TLgo3uRDiHc9k096W0g8AvmjO kgfnc4G7BjddMFn1umDxT02cpMMvffCnNW9fCZgaOHWzhg0VarEWE81KWyvoDMZCuIkm 1Fkw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from; bh=B0bF8Dp8q9xci4c5o94smgdJvjg6NtpoI9+PTZbQhb8=; b=RUhmZerqSdIZs3rEq207ZXgkzplHf+I0gdYjse12serVniE/lDp9VX6TRwcH0sQS3n 5ejV7FfGMFeR5Nib5bVTD2dzcuXfrH4jNaYcfEnPZNucXzP6WzEJ4N/MhuxLG2VMrRAX cXMZwg4EbxjC4WziqliU4BtxEm3n58xcfFp9GzCVQhVAbsHxJYvOyt/gjI1t5+gO9q2p XBO3XSRkMEClihTf4GLWjF7buFUfXGA9WVYntYEGehJlpASB8mtaxRJmcWYET6jzastp iYtK352XTyOi9hVwzKctIfySi6n5MjdODFQ1emXG9iBIO2i0UR68Ho0nPTg6yL1seJuR JuRw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id q6si14769009ejn.673.2021.05.11.00.49.30; Tue, 11 May 2021 00:49:53 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230126AbhEKHtc (ORCPT + 99 others); Tue, 11 May 2021 03:49:32 -0400 Received: from mx21.baidu.com ([220.181.3.85]:38108 "EHLO baidu.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S229892AbhEKHtb (ORCPT ); Tue, 11 May 2021 03:49:31 -0400 Received: from BJHW-Mail-Ex10.internal.baidu.com (unknown [10.127.64.33]) by Forcepoint Email with ESMTPS id 1BB22810BB5693CB83C4; Tue, 11 May 2021 15:48:08 +0800 (CST) Received: from BJHW-MAIL-EX20.internal.baidu.com (10.127.64.22) by BJHW-Mail-Ex10.internal.baidu.com (10.127.64.33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2242.4; Tue, 11 May 2021 15:48:07 +0800 Received: from BC-Mail-Ex20.internal.baidu.com (172.31.51.14) by BJHW-MAIL-EX20.internal.baidu.com (10.127.64.22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2242.4; Tue, 11 May 2021 15:48:07 +0800 Received: from BC-Mail-Ex20.internal.baidu.com ([172.31.51.14]) by BC-Mail-Ex20.internal.baidu.com ([172.31.51.14]) with mapi id 15.01.2242.008; Tue, 11 May 2021 15:48:07 +0800 From: "Chu,Kaiping" To: Khalid Aziz , David Rientjes CC: "mcgrof@kernel.org" , "keescook@chromium.org" , "yzaikin@google.com" , "akpm@linux-foundation.org" , "vbabka@suse.cz" , "nigupta@nvidia.com" , "bhe@redhat.com" , "iamjoonsoo.kim@lge.com" , "mateusznosek0@gmail.com" , "sh_def@163.com" , "linux-kernel@vger.kernel.org" , "linux-fsdevel@vger.kernel.org" , "linux-mm@kvack.org" Subject: =?utf-8?B?562U5aSNOiBbUEFUQ0ggdjNdIG1tL2NvbXBhY3Rpb246bGV0IHByb2FjdGl2?= =?utf-8?Q?e_compaction_order_configurable?= Thread-Topic: [PATCH v3] mm/compaction:let proactive compaction order configurable Thread-Index: AQHXOjmoEYLrBaldBU+yjbigXZxebarWgqKAgAd6AiA= Date: Tue, 11 May 2021 07:48:07 +0000 Message-ID: References: <1619313662-30356-1-git-send-email-chukaiping@baidu.com> <2f21dec9-065f-e234-f531-c6643965c0cb@oracle.com> In-Reply-To: <2f21dec9-065f-e234-f531-c6643965c0cb@oracle.com> Accept-Language: zh-CN, en-US Content-Language: zh-CN X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [172.22.194.39] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-Baidu-BdMsfe-DateCheck: 1_BJHW-Mail-Ex10_2021-05-11 15:48:08:080 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org DQoNCj4gLS0tLS3pgq7ku7bljp/ku7YtLS0tLQ0KPiDlj5Hku7bkuro6IEtoYWxpZCBBeml6IDxr aGFsaWQuYXppekBvcmFjbGUuY29tPg0KPiDlj5HpgIHml7bpl7Q6IDIwMjHlubQ15pyIN+aXpSA1 OjI3DQo+I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