From: "Dan Upton" <upton.dan.linux@gmail.com>
To: linux-kernel@vger.kernel.org
Subject: Re: migration thread and active_load_balance
Date: Sun, 20 Apr 2008 20:46:53 -0400 [thread overview]
Message-ID: <ba7d8f720804201746x60ff3ee3o415c60de96d897b6@mail.gmail.com> (raw)
In-Reply-To: <87tzhw8b1k.fsf@basil.nowhere.org>
> >
> > Anyway, like I said, I've spent several days trying to understand this
> > error by putting in printk()s galore and doing traces through the
>
> That might be obvious, but are you aware that printks inside
> the scheduler can lead to deadlocks? printk when the buffer
> is full calls wake_up and that calls the scheduler. So for
> debugging the scheduler you need some other way to get
> the information out.
>
> -Andi
>
Yes, I've read that printk can cause deadlocks, although I get the
deadlocks without printks as well. Also, I found a modification on
kerneltrap (http://kerneltrap.org/mailarchive/linux-kernel/2008/1/23/595569)
that seems to a decent job of preventing deadlocks due to printk, at
least in my case (I see in the comments on that thread though that
it's not perfect).
-dan
prev parent reply other threads:[~2008-04-21 0:47 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-04-20 18:21 Dan Upton
2008-04-20 21:26 ` Dmitry Adamushko
2008-04-21 0:44 ` Dan Upton
2008-04-21 11:03 ` Dmitry Adamushko
2008-04-21 19:38 ` Dan Upton
2008-04-21 20:39 ` Dmitry Adamushko
2008-04-22 19:19 ` Dan Upton
2008-04-20 21:35 ` Andi Kleen
2008-04-21 0:46 ` Dan Upton [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=ba7d8f720804201746x60ff3ee3o415c60de96d897b6@mail.gmail.com \
--to=upton.dan.linux@gmail.com \
--cc=linux-kernel@vger.kernel.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
all inboxes | Powered by JetHome®