From: luca abeni <luca.abeni@unitn.it>
To: Peter Zijlstra <peterz@infradead.org>
Cc: linux-kernel@vger.kernel.org, Juri Lelli <juri.lelli@arm.com>,
Daniel Bristot de Oliveira <bristot@redhat.com>
Subject: Re: Doubt about push_dl_task() / find_lock_later_rq()
Date: Thu, 5 Jan 2017 13:19:26 +0100 [thread overview]
Message-ID: <20170105131926.52b5fe37@sweethome> (raw)
In-Reply-To: <20170105114838.GJ3093@worktop>
On Thu, 5 Jan 2017 12:48:38 +0100
Peter Zijlstra <peterz@infradead.org> wrote:
> On Thu, Jan 05, 2017 at 08:29:23AM +0100, luca abeni wrote:
[...]
> > I was confused by the fact that in some cases I saw
> > rq->dl.earliest_dl.curr != rq->curr->dl.deadline
> >
> > I still do not understand how this can happen (I am not changing
> > tasks affinities), and I am investigating this.
>
>
> I'm having trouble spotting code that does that...
I think I might have found the issue (switched_to_dl() adjusting the
task's deadline without dequeueing/re-enqueueing it)... I am working on
a patch, and I'll send it this afternoon.
Thanks,
Luca
prev parent reply other threads:[~2017-01-05 12:20 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-01-04 14:49 Doubt about push_dl_task() / find_lock_later_rq() luca abeni
2017-01-05 7:29 ` luca abeni
2017-01-05 11:48 ` Peter Zijlstra
2017-01-05 12:19 ` luca abeni [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170105131926.52b5fe37@sweethome \
--to=luca.abeni@unitn.it \
--cc=bristot@redhat.com \
--cc=juri.lelli@arm.com \
--cc=linux-kernel@vger.kernel.org \
--cc=peterz@infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox