lkml.org 
[lkml]   [2020]   [Jan]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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

--

\
 
 \ /
  Last update: 2020-01-27 18:46    [W:0.075 / U:0.080 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site