Received: by 2002:ab2:7a55:0:b0:1f4:4a7d:290d with SMTP id u21csp716204lqp; Fri, 5 Apr 2024 06:56:38 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVrL1dUvQbtUPdiAj24A53Q3KMWWBiBYW9tZb5AYrYObzSjqqrHPmWZXDyRVmZZpN9kRVHyqp4AcYDc3L8n4Q/oNcM74n9OdKqZGZhCig== X-Google-Smtp-Source: AGHT+IFCQMB/jm6WhNmEohqfazgFQczASqrjB4VUDzqokRoTeDj9IhvzlHDQZmp/3M22dnuvA+oW X-Received: by 2002:a05:6a20:564c:b0:1a7:48e5:c130 with SMTP id is12-20020a056a20564c00b001a748e5c130mr299264pzc.12.1712325398677; Fri, 05 Apr 2024 06:56:38 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712325398; cv=pass; d=google.com; s=arc-20160816; b=ZEfg8gXDiIrtDIk4/8407FeOxF6i8ICSVOr8uhKObjCmlF1ykWrwzwAGPUgWGkVb8F De+tKDiMdlatRAj1fXKQq85CwQFbPmIQB/aTlScALCdVJ8ZpbB4alFpk74qw5qQHO5Zp Q6nJkgTQ3r6DSn/ScNilL/hMrW04kK03Vzd41bVA7oHjmBD4dGNLN03PilCW+L7CFJUG eHcDO6hR1lBwYuBHvQPNg/cV3Nsp7JHTpbsaxLd+f9N+UY87YUypqb1JsYnI3bXzZJX0 AnFFucF/FNgxEQw/9t2o/JSL57Nqk0vHQx7mVcrNe7+tZcP/VMPVMnHcZnmgAjuhHwA1 n/kg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:organization:references :in-reply-to:message-id:subject:cc:to:from:date; bh=Lsp+XH2ZWywJ3BkpsyXk9HbTL/sJZ42ZRXVsn/pmiqY=; fh=m/GexWS30uQrrfUwK3gqOBnDZu5kDI/MfHladiQaDtk=; b=D1ZZ6t1kOhEHAa0LZzwiieCVjwIEHaFsoK/yCnoBLACX9OslU8vx1eRoRnSly64nMT HEqtCZXMd6I+Bq1FY5XlfT46lnjCbY3f3j1vbTfCjVTlkVZ+Dhw2QOgtxMM5tmXaA961 axam7zUo/z9ZyFymlqizyIT8mmaMclerbddns8QFPEZaxwJ1jYvsRy2uagOLTnLUAtRc aq5TlGoqDPiO23wBFS7lsx2vGxImZGswJw1FRaQO1YSLtDTcHk6vX41YaQlWd8NPnO8+ Mn34a632MEvicD2cU0tkHxiZygzJC5X70FAHE2+kWmHjSXemK4O91unB6JssaB8YOv9G PzOw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=huawei.com dmarc=pass fromdomain=huawei.com); spf=pass (google.com: domain of linux-kernel+bounces-133100-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-133100-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=QUARANTINE) header.from=huawei.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id l135-20020a633e8d000000b005e4c83e4f41si1426047pga.183.2024.04.05.06.56.38 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 05 Apr 2024 06:56:38 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-133100-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=huawei.com dmarc=pass fromdomain=huawei.com); spf=pass (google.com: domain of linux-kernel+bounces-133100-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-133100-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=QUARANTINE) header.from=huawei.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 529DE281F81 for ; Fri, 5 Apr 2024 13:56:38 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 4E35216D9C8; Fri, 5 Apr 2024 13:56:30 +0000 (UTC) Received: from frasgout.his.huawei.com (frasgout.his.huawei.com [185.176.79.56]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 22A5816D4C5; Fri, 5 Apr 2024 13:56:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.176.79.56 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712325389; cv=none; b=k8o0kyIXvfT4QFPyu2sru04A/xES+YltT85omRU8E8ArCcLCPfchtLBeV2eZOdrub51L2aB3VdMxeD9RkwwAl5GXM3tfLSPhnwP5vsM8vAw12WECX5cD+ocYbPnZTTk4fY5Q/61SqNk2uPVn3i7ZMNLYqqFz48oIktBYxeT4TuY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712325389; c=relaxed/simple; bh=w+JtL2IWPbD3Av4ZJi5FOYcsvgEQMF3c4SDgRYwLT1g=; h=Date:From:To:CC:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=Gdf3crJb1k4y1aW7oOCPh3Rh6/4RiNAdflhJXIUDiClbCnHNkNJcx4DdV/FASiBXzHoPWBsCt5rEs/0qJ7j22fCxP6CG0jUo7sb1ZaE9QLUKQCz1s02DFT5KOKBpsYA2mdiQKsv8+VMpW47OX6i0kKg0lii/Ahtz+W8a0X+l7Cc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=Huawei.com; spf=pass smtp.mailfrom=huawei.com; arc=none smtp.client-ip=185.176.79.56 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=Huawei.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=huawei.com Received: from mail.maildlp.com (unknown [172.18.186.31]) by frasgout.his.huawei.com (SkyGuard) with ESMTP id 4VB0Jx1Q6qz67FR3; Fri, 5 Apr 2024 21:51:45 +0800 (CST) Received: from lhrpeml500005.china.huawei.com (unknown [7.191.163.240]) by mail.maildlp.com (Postfix) with ESMTPS id D9EF71400D1; Fri, 5 Apr 2024 21:56:25 +0800 (CST) Received: from localhost (10.202.227.76) by lhrpeml500005.china.huawei.com (7.191.163.240) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.35; Fri, 5 Apr 2024 14:56:25 +0100 Date: Fri, 5 Apr 2024 14:56:24 +0100 From: Jonathan Cameron To: "Ho-Ren (Jack) Chuang" CC: "Huang, Ying" , Gregory Price , , , , , Eishan Mirakhur , Vinicius Tavares Petrucci , Ravis OpenSrc , Alistair Popple , Srinivasulu Thanneeru , SeongJae Park , Dan Williams , Vishal Verma , "Dave Jiang" , Andrew Morton , , , , , "Ho-Ren (Jack) Chuang" , "Ho-Ren (Jack) Chuang" , Subject: Re: [PATCH v11 1/2] memory tier: dax/kmem: introduce an abstract layer for finding, allocating, and putting memory types Message-ID: <20240405145624.00000b31@Huawei.com> In-Reply-To: <20240405000707.2670063-2-horenchuang@bytedance.com> References: <20240405000707.2670063-1-horenchuang@bytedance.com> <20240405000707.2670063-2-horenchuang@bytedance.com> Organization: Huawei Technologies Research and Development (UK) Ltd. X-Mailer: Claws Mail 4.1.0 (GTK 3.24.33; x86_64-w64-mingw32) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-ClientProxiedBy: lhrpeml100001.china.huawei.com (7.191.160.183) To lhrpeml500005.china.huawei.com (7.191.163.240) On Fri, 5 Apr 2024 00:07:05 +0000 "Ho-Ren (Jack) Chuang" wrote: > Since different memory devices require finding, allocating, and putting > memory types, these common steps are abstracted in this patch, > enhancing the scalability and conciseness of the code. > > Signed-off-by: Ho-Ren (Jack) Chuang > Reviewed-by: "Huang, Ying" Reviewed-by: Jonathan Cameron