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

From: Gregory Price
Date: Tue Jul 23 2024 - 10:49:23 EST


On Tue, Jun 18, 2024 at 04:46:38PM +0800, Huang Ying 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>

Reviewed-by: Gregory Price <gourry@xxxxxxxxxx>