Re: [RFC PATCH] cgroup, netclassid: add a preemption point to write_classid
From: Tejun Heo
Date: Tue Oct 23 2018 - 15:58:54 EST
On Thu, Oct 18, 2018 at 10:56:17AM +0200, Michal Hocko wrote:
> From: Michal Hocko <mhocko@xxxxxxxx>
>
> We have seen a customer complaining about soft lockups on !PREEMPT
> kernel config with 4.4 based kernel
...
> If a cgroup has many tasks with many open file descriptors then we would
> end up in a large loop without any rescheduling point throught the
> operation. Add cond_resched once per task.
>
> Signed-off-by: Michal Hocko <mhocko@xxxxxxxx>
Applied to cgroup/for-4.20.
Thanks.
--
tejun