From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id BD51AC4332F for ; Thu, 9 Nov 2023 09:05:54 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233867AbjKIJFz (ORCPT ); Thu, 9 Nov 2023 04:05:55 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59292 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229509AbjKIJFx (ORCPT ); Thu, 9 Nov 2023 04:05:53 -0500 Received: from szxga02-in.huawei.com (szxga02-in.huawei.com [45.249.212.188]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3C607EA for ; Thu, 9 Nov 2023 01:05:51 -0800 (PST) Received: from dggpemm100001.china.huawei.com (unknown [172.30.72.57]) by szxga02-in.huawei.com (SkyGuard) with ESMTP id 4SQwtT5bJKzPpB4; Thu, 9 Nov 2023 17:01:37 +0800 (CST) Received: from [10.174.177.243] (10.174.177.243) by dggpemm100001.china.huawei.com (7.185.36.93) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.31; Thu, 9 Nov 2023 17:05:38 +0800 Message-ID: <059593a8-aa30-475f-9de6-35e7136c1759@huawei.com> Date: Thu, 9 Nov 2023 17:05:38 +0800 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v2] kpageflags: respect folio head-page flag placement Content-Language: en-US To: Gregory Price CC: Matthew Wilcox , Gregory Price , , , , , , References: <20231030180005.2046-1-gregory.price@memverge.com> From: Kefeng Wang In-Reply-To: Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [10.174.177.243] X-ClientProxiedBy: dggems704-chm.china.huawei.com (10.3.19.181) To dggpemm100001.china.huawei.com (7.185.36.93) X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2023/11/9 7:33, Gregory Price wrote: > On Wed, Nov 08, 2023 at 10:01:19AM +0800, Kefeng Wang wrote: >> >> Yes, I see your "Node Weights and Weighted Interleave", this is an >> interesting topic, we need some easy and efficient way to use tiered >> memory. >> > > There will be an LPC talk on it next week in the CXL track, presented > by another group that's been testing it. Please tune in! Sure. > >>> >>> There's only a handful, so yeah the best way is probably to go ahead and >>> swap k = page->flags for k = *folio_flags(folio, 0) and then handle the >>> couple of outliars. >> >> If you don't mind, I maybe try to convert it in my changes. >> > > Please feel free! I am happy to help test, CC me on subsequent patches > please! Will do, thanks. > > ~Gregory