From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <486C74B1.3000007@cn.fujitsu.com> Date: Thu, 03 Jul 2008 14:41:53 +0800 From: Li Zefan MIME-Version: 1.0 Subject: [-mm] BUG: sleeping function called from invalid context at include/linux/pagemap.h:290 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Sender: owner-linux-mm@kvack.org Return-Path: To: Andrew Morton Cc: LKML , "linux-mm@kvack.org" , npiggin@suse.de, Lee Schermerhorn , Rik Van Riel , KOSAKI Motohiro List-ID: 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 [] __might_sleep+0xbe/0xc5 [] __munlock_pte_handler+0x3c/0x9e [] walk_page_range+0x15b/0x1b4 [] __munlock_vma_pages_range+0x4e/0x5b [] ? __munlock_pmd_handler+0x0/0x10 [] ? __munlock_pte_handler+0x0/0x9e [] munlock_vma_pages_range+0xf/0x11 [] exit_mmap+0x32/0xf2 [] ? exit_mm+0xc7/0xda [] mmput+0x3a/0x8b [] exit_mm+0xd5/0xda [] do_exit+0x1fb/0x5d5 [] ? audit_syscall_exit+0x2aa/0x2c5 [] do_group_exit+0x5f/0x88 [] sys_exit_group+0xf/0x11 [] 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 [] __schedule_bug+0x5e/0x65 [] schedule+0x85/0x7f2 [] ? show_trace_log_lvl+0x20/0x28 [] ? show_trace+0x10/0x14 [] ? dump_stack+0x5b/0x65 [] __cond_resched+0x25/0x3b [] _cond_resched+0x24/0x2f [] __munlock_pte_handler+0x41/0x9e [] walk_page_range+0x15b/0x1b4 [] __munlock_vma_pages_range+0x4e/0x5b [] ? __munlock_pmd_handler+0x0/0x10 [] ? __munlock_pte_handler+0x0/0x9e [] munlock_vma_pages_range+0xf/0x11 [] exit_mmap+0x32/0xf2 [] ? exit_mm+0xc7/0xda [] mmput+0x3a/0x8b [] exit_mm+0xd5/0xda [] do_exit+0x1fb/0x5d5 [] ? audit_syscall_exit+0x2aa/0x2c5 [] do_group_exit+0x5f/0x88 [] sys_exit_group+0xf/0x11 [] 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: email@kvack.org