Re: [PATCH v15 01/10] mm/demotion: Add support for explicit memory tiers
From: Aneesh Kumar K V
Date: Thu Aug 18 2022 - 09:54:50 EST
On 8/18/22 6:40 PM, Aneesh Kumar K.V wrote:
> + */
> +#define MEMTIER_CHUNK_BITS 7
> +#define MEMTIER_CHUNK_SIZE (1 << MEMTIER_CHUNK_BITS)
> +/*
> + * Smaller abstract distance values imply faster(higher) memory tiers. Offset
> + * the DRAM adistance so that we can accommodate devices with a slightly lower
> + * adistance value (slightly slower) than default DRAM adistance to be part of
(^^^ slightly faster)
> + * the same memory tier.
> + */
>