From: Alexey Dobriyan <adobriyan@sw.ru>
To: akpm@osdl.org, mpm@selenic.com
Cc: linux-kernel@vger.kernel.org, devel@openvz.org
Subject: /proc/*/pagemap BUG: sleeping function called from invalid context
Date: Mon, 9 Apr 2007 12:25:54 +0400 [thread overview]
Message-ID: <20070409082554.GB6532@localhost.sw.ru> (raw)
After
cat /proc/self/pagemap
BUG: sleeping function called from invalid context at include/asm/uaccess.h:453
in_atomic():1, irqs_disabled():0
1 lock held by cat/14183:
#0: (&mm->mmap_sem){----}, at: [<c017d17b>] pagemap_read+0x11f/0x21b
[<c01b7bc7>] copy_to_user+0x37/0x4c
[<c017cf92>] add_to_pagemap+0x49/0x6f
[<c017d034>] pagemap_pte_range+0x56/0x7e
[<c017cfde>] pagemap_pte_range+0x0/0x7e
[<c01b481d>] walk_page_range+0xf1/0x1a0
[<c017d1e3>] pagemap_read+0x187/0x21b
[<c01fdafa>] tty_write+0x1bb/0x1cc
[<c017d05c>] pagemap_read+0x0/0x21b
[<c01589b0>] vfs_read+0x72/0x95
[<c0158cce>] sys_read+0x41/0x67
[<c0103d96>] sysenter_past_esp+0x8f/0x99
[<c0103d66>] sysenter_past_esp+0x5f/0x99
=======================
next reply other threads:[~2007-04-09 8:18 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-04-09 8:25 Alexey Dobriyan [this message]
2007-04-09 17:43 ` /proc/*/pagemap BUG: sleeping function called from invalid context Matt Mackall
2007-04-09 21:43 ` Matt Mackall
2007-04-10 20:07 ` Matt Mackall
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=20070409082554.GB6532@localhost.sw.ru \
--to=adobriyan@sw.ru \
--cc=akpm@osdl.org \
--cc=devel@openvz.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mpm@selenic.com \
/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