Re: [PATCH v3 2/3] cxl/region: Support to calculate memory tier abstract distance

Jonathan Cameron
2024-06-20T11:13:41Z

On Tue, 18 Jun 2024 16:46:38 +0800
Huang Ying <ying.huang@intel.com> wrote:

> An abstract distance value must be assigned by the driver that makes
> the memory available to the system. It reflects relative performance
> and is used to place memory nodes backed by CXL regions in the appropriate
> memory tiers allowing promotion/demotion within the existing memory tiering
> mechanism.
>
> The abstract distance is calculated based on the memory access latency
> and bandwidth of CXL regions.
>
> Signed-off-by: "Huang, Ying" <ying.huang@intel.com>
> Acked-by: Dan Williams <dan.j.williams@intel.com>
LGTM
Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>