From: Li Zefan <lizf@cn.fujitsu.com>
To: Andrew Morton <akpm@linux-foundation.org>
Cc: LKML <linux-kernel@vger.kernel.org>,
"linux-mm@kvack.org" <linux-mm@kvack.org>,
npiggin@suse.de, Lee Schermerhorn <Lee.Schermerhorn@hp.com>,
Rik Van Riel <riel@redhat.com>,
KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
Subject: [-mm] BUG: sleeping function called from invalid context at include/linux/pagemap.h:290
Date: Thu, 03 Jul 2008 14:41:53 +0800 [thread overview]
Message-ID: <486C74B1.3000007@cn.fujitsu.com> (raw)
Seems the problematic patch is :
mmap-handle-mlocked-pages-during-map-remap-unmap.patch
I'm using mmotm uploaded yesterday by Andrew, so I guess this bug
has not been fixed ?
BUG: sleeping function called from invalid context at include/linux/pagemap.h:290
in_atomic():1, irqs_disabled():0
no locks held by gpg-agent/2134.
Pid: 2134, comm: gpg-agent Not tainted 2.6.26-rc8-mm1 #11
[<c0421d38>] __might_sleep+0xbe/0xc5
[<c04770a2>] __munlock_pte_handler+0x3c/0x9e
[<c047c11f>] walk_page_range+0x15b/0x1b4
[<c0477048>] __munlock_vma_pages_range+0x4e/0x5b
[<c0476f0c>] ? __munlock_pmd_handler+0x0/0x10
[<c0477066>] ? __munlock_pte_handler+0x0/0x9e
[<c0477064>] munlock_vma_pages_range+0xf/0x11
[<c0477dcb>] exit_mmap+0x32/0xf2
[<c042ac12>] ? exit_mm+0xc7/0xda
[<c042732a>] mmput+0x3a/0x8b
[<c042ac20>] exit_mm+0xd5/0xda
[<c042bf6a>] do_exit+0x1fb/0x5d5
[<c045c4df>] ? audit_syscall_exit+0x2aa/0x2c5
[<c042c3a3>] do_group_exit+0x5f/0x88
[<c042c3db>] sys_exit_group+0xf/0x11
[<c0403956>] syscall_call+0x7/0xb
=======================
BUG: scheduling while atomic: gpg-agent/2134/0x10000001
no locks held by gpg-agent/2134.
Modules linked in: bridge llc dm_mod sg r8169 sata_sis pata_sis ata_generic libata sd_mod scsi_mod ext3 jbd mbcache uhci_hcd ohci_hcd ehci_hcd [last unloaded: scsi_wait_scan]
Pid: 2134, comm: gpg-agent Not tainted 2.6.26-rc8-mm1 #11
[<c0424d16>] __schedule_bug+0x5e/0x65
[<c05fb1d6>] schedule+0x85/0x7f2
[<c0404955>] ? show_trace_log_lvl+0x20/0x28
[<c0404ff8>] ? show_trace+0x10/0x14
[<c040591c>] ? dump_stack+0x5b/0x65
[<c0424f26>] __cond_resched+0x25/0x3b
[<c05fb9a6>] _cond_resched+0x24/0x2f
[<c04770a7>] __munlock_pte_handler+0x41/0x9e
[<c047c11f>] walk_page_range+0x15b/0x1b4
[<c0477048>] __munlock_vma_pages_range+0x4e/0x5b
[<c0476f0c>] ? __munlock_pmd_handler+0x0/0x10
[<c0477066>] ? __munlock_pte_handler+0x0/0x9e
[<c0477064>] munlock_vma_pages_range+0xf/0x11
[<c0477dcb>] exit_mmap+0x32/0xf2
[<c042ac12>] ? exit_mm+0xc7/0xda
[<c042732a>] mmput+0x3a/0x8b
[<c042ac20>] exit_mm+0xd5/0xda
[<c042bf6a>] do_exit+0x1fb/0x5d5
[<c045c4df>] ? audit_syscall_exit+0x2aa/0x2c5
[<c042c3a3>] do_group_exit+0x5f/0x88
[<c042c3db>] sys_exit_group+0xf/0x11
[<c0403956>] syscall_call+0x7/0xb
=======================
WARNING: multiple messages have this Message-ID (diff)
From: Li Zefan <lizf@cn.fujitsu.com>
To: Andrew Morton <akpm@linux-foundation.org>
Cc: LKML <linux-kernel@vger.kernel.org>,
"linux-mm@kvack.org" <linux-mm@kvack.org>,
npiggin@suse.de, Lee Schermerhorn <Lee.Schermerhorn@hp.com>,
Rik Van Riel <riel@redhat.com>,
KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
Subject: [-mm] BUG: sleeping function called from invalid context at include/linux/pagemap.h:290
Date: Thu, 03 Jul 2008 14:41:53 +0800 [thread overview]
Message-ID: <486C74B1.3000007@cn.fujitsu.com> (raw)
Seems the problematic patch is :
mmap-handle-mlocked-pages-during-map-remap-unmap.patch
I'm using mmotm uploaded yesterday by Andrew, so I guess this bug
has not been fixed ?
BUG: sleeping function called from invalid context at include/linux/pagemap.h:290
in_atomic():1, irqs_disabled():0
no locks held by gpg-agent/2134.
Pid: 2134, comm: gpg-agent Not tainted 2.6.26-rc8-mm1 #11
[<c0421d38>] __might_sleep+0xbe/0xc5
[<c04770a2>] __munlock_pte_handler+0x3c/0x9e
[<c047c11f>] walk_page_range+0x15b/0x1b4
[<c0477048>] __munlock_vma_pages_range+0x4e/0x5b
[<c0476f0c>] ? __munlock_pmd_handler+0x0/0x10
[<c0477066>] ? __munlock_pte_handler+0x0/0x9e
[<c0477064>] munlock_vma_pages_range+0xf/0x11
[<c0477dcb>] exit_mmap+0x32/0xf2
[<c042ac12>] ? exit_mm+0xc7/0xda
[<c042732a>] mmput+0x3a/0x8b
[<c042ac20>] exit_mm+0xd5/0xda
[<c042bf6a>] do_exit+0x1fb/0x5d5
[<c045c4df>] ? audit_syscall_exit+0x2aa/0x2c5
[<c042c3a3>] do_group_exit+0x5f/0x88
[<c042c3db>] sys_exit_group+0xf/0x11
[<c0403956>] syscall_call+0x7/0xb
=======================
BUG: scheduling while atomic: gpg-agent/2134/0x10000001
no locks held by gpg-agent/2134.
Modules linked in: bridge llc dm_mod sg r8169 sata_sis pata_sis ata_generic libata sd_mod scsi_mod ext3 jbd mbcache uhci_hcd ohci_hcd ehci_hcd [last unloaded: scsi_wait_scan]
Pid: 2134, comm: gpg-agent Not tainted 2.6.26-rc8-mm1 #11
[<c0424d16>] __schedule_bug+0x5e/0x65
[<c05fb1d6>] schedule+0x85/0x7f2
[<c0404955>] ? show_trace_log_lvl+0x20/0x28
[<c0404ff8>] ? show_trace+0x10/0x14
[<c040591c>] ? dump_stack+0x5b/0x65
[<c0424f26>] __cond_resched+0x25/0x3b
[<c05fb9a6>] _cond_resched+0x24/0x2f
[<c04770a7>] __munlock_pte_handler+0x41/0x9e
[<c047c11f>] walk_page_range+0x15b/0x1b4
[<c0477048>] __munlock_vma_pages_range+0x4e/0x5b
[<c0476f0c>] ? __munlock_pmd_handler+0x0/0x10
[<c0477066>] ? __munlock_pte_handler+0x0/0x9e
[<c0477064>] munlock_vma_pages_range+0xf/0x11
[<c0477dcb>] exit_mmap+0x32/0xf2
[<c042ac12>] ? exit_mm+0xc7/0xda
[<c042732a>] mmput+0x3a/0x8b
[<c042ac20>] exit_mm+0xd5/0xda
[<c042bf6a>] do_exit+0x1fb/0x5d5
[<c045c4df>] ? audit_syscall_exit+0x2aa/0x2c5
[<c042c3a3>] do_group_exit+0x5f/0x88
[<c042c3db>] sys_exit_group+0xf/0x11
[<c0403956>] syscall_call+0x7/0xb
=======================
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
next reply other threads:[~2008-07-03 7:14 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-07-03 6:41 Li Zefan [this message]
2008-07-03 6:41 ` [-mm] BUG: sleeping function called from invalid context at include/linux/pagemap.h:290 Li Zefan
2008-07-03 7:04 ` Andrew Morton
2008-07-03 7:04 ` Andrew Morton
2008-07-03 7:13 ` KOSAKI Motohiro
2008-07-03 7:13 ` KOSAKI Motohiro
2008-07-03 8:46 ` [mmotm] build failure on x86_64 pci-calgary_64.c KOSAKI Motohiro
2008-07-03 8:46 ` KOSAKI Motohiro
2008-07-03 9:02 ` Andrew Morton
2008-07-03 9:02 ` Andrew Morton
2008-07-03 9:07 ` Ingo Molnar
2008-07-03 9:07 ` Ingo Molnar
2008-07-03 9:38 ` KOSAKI Motohiro
2008-07-03 9:38 ` KOSAKI Motohiro
2008-07-03 9:41 ` [-mm] BUG: sleeping function called from invalid context at include/linux/pagemap.h:290 KOSAKI Motohiro
2008-07-03 9:41 ` KOSAKI Motohiro
2008-07-03 9:45 ` Li Zefan
2008-07-03 17:25 ` Hugh Dickins
2008-07-03 17:25 ` Hugh Dickins
2008-07-04 5:40 ` KOSAKI Motohiro
2008-07-04 5:40 ` KOSAKI Motohiro
2008-07-04 6:12 ` Li Zefan
2008-07-04 6:12 ` Li Zefan
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=486C74B1.3000007@cn.fujitsu.com \
--to=lizf@cn.fujitsu.com \
--cc=Lee.Schermerhorn@hp.com \
--cc=akpm@linux-foundation.org \
--cc=kosaki.motohiro@jp.fujitsu.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=npiggin@suse.de \
--cc=riel@redhat.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.