From: Andrew Morton <akpm@digeo.com>
To: Dave Jones <davej@codemonkey.org.uk>
Cc: linux-kernel@vger.kernel.org
Subject: Re: opost_block sleeping in illegal context.
Date: Tue, 8 Apr 2003 20:32:35 -0700 [thread overview]
Message-ID: <20030408203235.60103051.akpm@digeo.com> (raw)
In-Reply-To: <20030409011212.GB25834@suse.de>
Dave Jones <davej@codemonkey.org.uk> wrote:
>
> Not seen this one before.. 2.5.67
>
> Dave
>
>
> Debug: sleeping function called from illegal context at include/linux/rwsem.h:43
> Call Trace:
> [<c0120d61>] __might_sleep+0x61/0x80
> [<c011c3af>] do_page_fault+0x19f/0x4e4
> [<c013104b>] specific_send_sig_info+0xeb/0x160
> [<c03291f5>] opost_block+0xf5/0x1c0
> [<c011c66d>] do_page_fault+0x45d/0x4e4
> [<c011c210>] do_page_fault+0x0/0x4e4
> [<c010b41d>] error_code+0x2d/0x40
> [<c02e66d6>] __copy_to_user_ll+0x26/0x50
> [<c010e967>] save_v86_state+0x1a7/0x1c0
> [<c011c210>] do_page_fault+0x0/0x4e4
> [<c010a4b6>] work_notifysig_v86+0x6/0x20
> [<c010a457>] syscall_call+0x7/0xb
No, this isn't opost_block(). It's the vm86 stuff, but I can't see why.
Is do_page_fault+0x19f/0x4e4 a down_read()? Which one?
If it's repeatable, please change __might_sleep() to display preempt_count()
and irqs_disabled().
prev parent reply other threads:[~2003-04-09 3:20 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-04-09 1:12 Dave Jones
2003-04-09 3:32 ` Andrew Morton [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=20030408203235.60103051.akpm@digeo.com \
--to=akpm@digeo.com \
--cc=davej@codemonkey.org.uk \
--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®