[lkml]   [2018]   [Oct]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [RFC PATCH] cgroup, netclassid: add a preemption point to write_classid
On Thu, Oct 18, 2018 at 10:56:17AM +0200, Michal Hocko wrote:
> From: Michal Hocko <>
> 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 <>

Applied to cgroup/for-4.20.



 \ /
  Last update: 2018-10-23 22:01    [W:0.038 / U:2.312 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site