Re: [RFC PATCH v3 3/4] mm/damon: add node_eligible_mem_bp and node_ineligible_mem_bp goal metrics

From: SeongJae Park

Date: Wed Feb 25 2026 - 19:57:44 EST


On Wed, 25 Feb 2026 10:46:56 -0800 Ravi Jonnalagadda <ravis.opensrc@xxxxxxxxx> wrote:

> On Mon, Feb 23, 2026 at 8:27 PM SeongJae Park <sj@xxxxxxxxxx> wrote:
> >
> > On Mon, 23 Feb 2026 12:32:31 +0000 Ravi Jonnalagadda <ravis.opensrc@xxxxxxxxx> wrote:
> >
[...]
> >
> > So, the overall concept and definition of the new goal metrics sound good to
> > me. But I'd prefer having less optimized but simpler code, and nodes boundary
> > crossing regions handling.
> >
>
> I'll prepare a v4 addressing all these points:
> 1. Fix 80-column wrapping
> 2. Remove eligible_bytes_per_node[] array, iterate regions per goal
> instead
> 3. Handle regions crossing node boundaries
> 4. Pass scheme pointer from caller

Thank you for flexibly accepting my suggestions and listing those again here.
All looks good and catching all the points!

>
> I'm currently on a break and will send the updated patch after March
> 10th.

I hope you a great break!


Thanks,
SJ

[...]