Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752203AbcKGTyO (ORCPT ); Mon, 7 Nov 2016 14:54:14 -0500 Received: from resqmta-ch2-07v.sys.comcast.net ([69.252.207.39]:47348 "EHLO resqmta-ch2-07v.sys.comcast.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752170AbcKGTyL (ORCPT ); Mon, 7 Nov 2016 14:54:11 -0500 Date: Mon, 7 Nov 2016 13:54:12 -0600 (CST) From: Christoph Lameter X-X-Sender: cl@east.gentwo.org To: Steven Rostedt cc: Daniel Bristot de Oliveira , Ingo Molnar , Peter Zijlstra , linux-rt-users , LKML Subject: Re: [PATCH] sched/rt: RT_RUNTIME_GREED sched feature In-Reply-To: <20161107144738.4811a5dd@gandalf.local.home> Message-ID: References: <20161107133207.4282de69@gandalf.local.home> <20161107144738.4811a5dd@gandalf.local.home> Content-Type: text/plain; charset=US-ASCII X-CMAE-Envelope: MS4wfKJjucvjiRUhJ+vr8WQ31GirWBzA7dHiBgLp8Wj6ZeAKA1yid6KH9nchnyFzzzOYc8GJXeXyq1UAcAI7NHHnz57AUbXKlsZgmjDJBzKbWbxZXLBLsTym IPxYEv2HVWvTV3/pKYQmgmWi66JgPXI69xlJyZg0mp/YohpviAFOHXz5HyBHjyniQKOzy+SpmLfxbhAHTSK2v+vJR2VVXCS6jGs2NezIJ3dr1XQ1MnrbK3JO xCFbB61IUFw4/L97yFFBES9T/WYY+MdcS1BgWB/oRolhcielwXNhWt90Mu1NLxpMNWO7KW56yvlkkwo64lTc01Jn+uaPPRT2C2hxqJeVb2o= Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 708 Lines: 17 On Mon, 7 Nov 2016, Steven Rostedt wrote: > On Mon, 7 Nov 2016 13:30:15 -0600 (CST) > Christoph Lameter wrote: > > > SCHED_RR tasks alternately running on on cpu can cause endless deferral of > > kworker threads. With the global effect of the OS processing reserved > > it may be the case that the processor we are executing never gets any > > time. And if that kworker threads role is releasing a mutex (like the > > cgroup_lock) then deadlocks can result. > > I believe SCHED_RR tasks will still throttle if they use up too much of > the CPU. But I still don't see how this patch helps your situation. The kworker thread will be able to make progress? Or am I not reading this correctly?