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


Groups > linux.kernel > #1300843

Re: [V9fs-developer] Hang triggered by udev coldplug, looks like a race

From Peter Zijlstra <peterz@infradead.org>
Newsgroups linux.kernel
Subject Re: [V9fs-developer] Hang triggered by udev coldplug, looks like a race
Date 2016-01-04 17:00 +0100
Message-ID <qNfI6-5oL-9@gated-at.bofh.it> (permalink)
References (5 earlier) <qDGqd-4EB-5@gated-at.bofh.it> <qDGJz-4OU-21@gated-at.bofh.it> <qGNYe-4LR-17@gated-at.bofh.it> <qJbMK-5Gd-7@gated-at.bofh.it> <qLiK6-33r-11@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Tue, Dec 29, 2015 at 10:43:26PM -0800, Andy Lutomirski wrote:
> [add cc's]
> 
> Hi scheduler people:
> 
> This is relatively easy for me to reproduce.  Any hints for debugging
> it?  Could we really have a bug in which processes that are
> schedulable as a result of mutex unlock aren't always reliably
> scheduled?

I would expect that to cause wide-spread fail, then again, virt is known
to tickle timing issues that are improbable on actual hardware so
anything is possible.

Does it reproduce with DEBUG_MUTEXES set? (I'm not seeing a .config
here).

If its really easy you could start by tracing events/sched/sched_switch
events/sched/sched_wakeup, those would be the actual scheduling events.

Without DEBUG_MUTEXES there's the MUTEX_SPIN_ON_OWNER code that could
still confuse things, but that's mutex internal and not scheduler
related.

If it ends up being the SPIN_ON_OWNER bits we'll have to cook up some
extra debug patches.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

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


Thread

Re: [V9fs-developer] Hang triggered by udev coldplug, looks like a  race Peter Zijlstra <peterz@infradead.org> - 2016-01-04 17:00 +0100
  Re: [V9fs-developer] Hang triggered by udev coldplug, looks like a  race Dominique Martinet <dominique.martinet@cea.fr> - 2016-01-04 17:30 +0100
    Re: [V9fs-developer] Hang triggered by udev coldplug, looks like a race Andy Lutomirski <luto@amacapital.net> - 2016-01-04 20:10 +0100
      Re: [V9fs-developer] Hang triggered by udev coldplug, looks like a  race Peter Zijlstra <peterz@infradead.org> - 2016-01-04 20:30 +0100

csiph-web