Re: [PATCH 1/1] cgroup: limit cgroup psi file writes to processes with CAP_SYS_RESOURCE
From: Suren Baghdasaryan
Date: Wed Mar 01 2023 - 14:37:15 EST
On Wed, Mar 1, 2023 at 10:40 AM Suren Baghdasaryan <surenb@xxxxxxxxxx> wrote:
>
> On Wed, Mar 1, 2023 at 10:35 AM Michal Hocko <mhocko@xxxxxxxx> wrote:
> >
> > On Wed 01-03-23 10:05:36, Suren Baghdasaryan wrote:
> > [...]
> > > Yes but hopefully my argument about keeping this and min period
> > > patches separate is reasonable?
> >
> > I am not questioning that. The practical advantage to squash the two
> > changes is that in case of the CAP_SYS_RESOURCE you do not have to
> > explicitly think about reverting the min constrain as well. I do not
> > think reverting one without the other is good.
>
> Ok, I'm fine with having both changes in the same patch. Will post v2
> later today. Thanks!
Didn't call it v2 since the title had to be changed. The new patch is
posted at: https://lore.kernel.org/all/20230301193403.1507484-1-surenb@xxxxxxxxxx/
>
> >
> > --
> > Michal Hocko
> > SUSE Labs