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

From: Jonathan Cameron
Date: Thu Jun 20 2024 - 07:14:02 EST


On Tue, 18 Jun 2024 16:46:38 +0800
Huang Ying <ying.huang@xxxxxxxxx> 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@xxxxxxxxx>
> Acked-by: Dan Williams <dan.j.williams@xxxxxxxxx>
LGTM
Reviewed-by: Jonathan Cameron <Jonathan.Cameron@xxxxxxxxxx>