Re: [RFC PATCH v3 0/4] Node Weights and Weighted Interleave

Michal Hocko
2023-11-01T14:01:34Z

On Wed 01-11-23 10:21:47, Huang, Ying wrote:
> Michal Hocko <mhocko@suse.com> writes:
[...]
> > Well, I am not convinced about that TBH. Sure it is probably a good fit
> > for this specific CXL usecase but it just doesn't fit into many others I
> > can think of - e.g. proportional use of those tiers based on the
> > workload - you get what you pay for.
>
> For "pay", per my understanding, we need some cgroup based
> per-memory-tier (or per-node) usage limit. The following patchset is
> the first step for that.
>
> https://lore.kernel.org/linux-mm/cover.1655242024.git.tim.c.chen@linux.intel.com/

Why do we need a sysfs interface if there are plans for cgroup API?

--
Michal Hocko
SUSE Labs