From: viro@parcelfarce.linux.theplanet.co.uk
To: Jan Ischebeck <mail@jan-ischebeck.de>
Cc: Andrew Morton <akpm@osdl.org>, lkml <linux-kernel@vger.kernel.org>
Subject: Re: 2.6.2-rc1-mm2: sleep_on_timeout with parport
Date: Sun, 25 Jan 2004 17:57:23 +0000 [thread overview]
Message-ID: <20040125175723.GQ21151@parcelfarce.linux.theplanet.co.uk> (raw)
In-Reply-To: <1075046073.26778.3.camel@JHome.uni-bonn.de>
On Sun, Jan 25, 2004 at 04:55:01PM +0100, Jan Ischebeck wrote:
> Trying to print without switching the printer on I got the following
> error messages.
>
> lp0 out of paper
> Badness in interruptible_sleep_on_timeout at kernel/sched.c:2245
> Call Trace:
> [<c0121a6f>] interruptible_sleep_on_timeout+0x10f/0x120
> [<c0121500>] default_wake_function+0x0/0x20
> [<e0a34e5f>] parport_release+0x7f/0x140 [parport]
Yeah... parport locking primitives (and, frankly, the rest of parport
API) apparently had been designed on serious drugs.
I'm cleaning up that crap; some patches are already in -mm, more will
follow. In particular, yes, parprt_claim()/parport_claim_or_block()/
parport_release() is racy and most of the users have problems with
missing wakeups.
next prev parent reply other threads:[~2004-01-25 17:57 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-01-23 15:08 2.6.2-rc1-mm2 Jan Ischebeck
2004-01-23 18:39 ` 2.6.2-rc1-mm2 Andrew Morton
2004-01-25 15:55 ` 2.6.2-rc1-mm2: sleep_on_timeout with parport Jan Ischebeck
2004-01-25 17:57 ` viro [this message]
2004-01-23 19:15 ` 2.6.2-rc1-mm2 Adrian Bunk
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=20040125175723.GQ21151@parcelfarce.linux.theplanet.co.uk \
--to=viro@parcelfarce.linux.theplanet.co.uk \
--cc=akpm@osdl.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mail@jan-ischebeck.de \
/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®