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

Gregory Price
2024-07-23T14:49:16Z

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@intel.com>
> Acked-by: Dan Williams <dan.j.williams@intel.com>

Reviewed-by: Gregory Price <gourry@gourry.net>