Messages in this thread | | | Date | Mon, 27 Jan 2020 12:45:49 -0500 | From | Phil Auld <> | Subject | Re: [PATCH v3]sched/rt: Stop for_each_process_thread() iterations in tg_has_rt_tasks() |
| |
On Mon, Jan 27, 2020 at 06:00:10PM +0100 Peter Zijlstra wrote: > On Mon, Jan 27, 2020 at 11:56:38AM -0500, Phil Auld wrote: > > On Mon, Jan 27, 2020 at 05:43:15PM +0100 Peter Zijlstra wrote: > > > On Thu, Jan 23, 2020 at 04:56:19PM -0500, Phil Auld wrote: > > > > Peter, is there any chance of taking something like this? > > > > > > Whoopsy, looks like this fell on the floor. Can do I suppose. > > > > > > Thanks! > > > > > > > Thanks. Probably make sense at this point to use Konstantin's new version? > > But they both do the trick. > > Care to send it along? >
I think you were on the CC, but here's a link:
https://lkml.org/lkml/2020/1/25/167
It's called:
[PATCH] sched/rt: optimize checking group rt scheduler constraints
It does a little bit more and needs an "|=" changed to "=". And actually looking at it again, it should probably just have a break in the loop.
I'll make that comment in the thread for it.
Thanks, Phil
--
| |