Re: [PATCH v2] cgroup: freezer: don't change task and cgroups status unnecessarily

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Oct 30, 2019 at 04:18:10PM +0800, Honglei Wang wrote:
> It's not necessary to adjust the task state and revisit the state
> of source and destination cgroups if the cgroups are not in freeze
> state and the task itself is not frozen.
> 
> And in this scenario, it wakes up the task who's not supposed to be
> ready to run.
> 
> Don't do the unnecessary task state adjustment can help stop waking
> up the task without a reason.
> 
> Signed-off-by: Honglei Wang <honglei.wang@xxxxxxxxxx>
> Acked-by: Roman Gushchin <guro@xxxxxx>

Applied to cgroup/for-5.5.

Thanks.

-- 
tejun



[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]     [Monitors]

  Powered by Linux