Re: [RFC PATCH 0/3] Cgroup-based THP control

From: Michal Hocko
Date: Fri Nov 01 2024 - 09:16:04 EST


On Fri 01-11-24 14:54:27, Stepanov Anatoly wrote:
> On 11/1/2024 10:35 AM, Michal Hocko wrote:
> > On Thu 31-10-24 17:37:12, Stepanov Anatoly wrote:
> >> If we consider the inheritance approach (prctl + launcher), it's fine until we need to change
> >> THP mode property for several tasks at once, in this case some batch-change approach needed.
> >
> > I do not follow. How is this any different from a single process? Or do
> > you mean to change the mode for an already running process?
> >
> yes, for already running set of processes

Why is that preferred over setting the policy upfront?
--
Michal Hocko
SUSE Labs