Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1371780

Re: [RFC v2 1/7] Track the active utilisation

From luca abeni <luca.abeni@unitn.it>
Newsgroups linux.kernel
Subject Re: [RFC v2 1/7] Track the active utilisation
Date 2016-04-05 18:50 +0200
Message-ID <rkCkX-70h-5@gated-at.bofh.it> (permalink)
References <rj91E-6gd-5@gated-at.bofh.it> <rj9bk-6jH-3@gated-at.bofh.it> <rkyhl-3jr-35@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Hi Peter,

first of all, thanks for all the reviews!

On Tue, 5 Apr 2016 14:23:27 +0200
Peter Zijlstra <peterz@infradead.org> wrote:
[...]
> > @@ -1218,6 +1242,9 @@ static void task_dead_dl(struct task_struct *p)
> >  	/* XXX we should retain the bw until 0-lag */
> >  	dl_b->total_bw -= p->dl.dl_bw;
> >  	raw_spin_unlock_irq(&dl_b->lock);
> > +
> > +	if (task_on_rq_queued(p))
> > +		sub_running_bw(&p->dl, &rq->dl);
> >  }
> >  
> 
> A dead task cannot be running, not be queued, right? ISTR you remove
> this hunk in a later patch as well.
I suspect this is some "better safe than sorry" code I added trying
to solve some issue that then I solved in a different way... But I
forgot to remove it.

I'll fix the patch and re-test.



			Thanks,
				Luca

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

Re: [RFC v2 1/7] Track the active utilisation Peter Zijlstra <peterz@infradead.org> - 2016-04-05 14:30 +0200
  Re: [RFC v2 1/7] Track the active utilisation luca abeni <luca.abeni@unitn.it> - 2016-04-05 18:50 +0200

csiph-web