Re: [PATCH] samples/damon: add parameters for node0 memory usage
From: Yunjeong Mun
Date: Fri Jun 20 2025 - 02:30:17 EST
Hi Andrew, please check the patch below. I missed CC'ing you on the previous
email.
On Thu, 19 Jun 2025 09:46:36 -0700 SeongJae Park <sj@xxxxxxxxxx> wrote:
> On Thu, 19 Jun 2025 14:03:12 +0900 Yunjeong Mun <yunjeong.mun@xxxxxx> wrote:
>
> > This patch changes the hard-coded quota goal metric values into sysfs
> > knobs: `node0_mem_used_bp` and `node0_mem_free_bp`. These knobs
> > represent the used and free memory ratio of node0 in basis points
> > (bp, where 1 bp = 0.01%). As mentioned in [1], this patch is developed
> > under the assumption that node0 is always the fast-tier in a two-tiers
> > memory setup.
> >
> > [1] https://lore.kernel.org/linux-mm/20250420194030.75838-8-sj@xxxxxxxxxx/
>
> Thank you for this patch. Please note that this is just a sample code, and
> hence there will be no strict user space compatibility support.
>
Thanks for reviewing. As you said, this mtier sample module needs further
development for final version, like automatically detecting memory tiers and
adding some useful knobs. May I continue working on the mtier module?
> >
> > Suggested-by: Honggyu Kim <honggyu.kim@xxxxxx>
> > Signed-off-by: Yunjeong Mun <yunjeong.mun@xxxxxx>
>
> Reviewed-by: SeongJae Park <sj@xxxxxxxxxx>
>
>
> Thanks,
> SJ
>
> [...]