All of lore.kernel.org
 help / color / mirror / Atom feed
From: Dave Jones <davej@redhat.com>
To: Linux Kernel <linux-kernel@vger.kernel.org>
Cc: linux-mm@kvack.org
Subject: sleeping function warning from __put_anon_vma
Date: Thu, 29 May 2014 20:09:44 -0400	[thread overview]
Message-ID: <20140530000944.GA29942@redhat.com> (raw)

BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:47
in_atomic(): 0, irqs_disabled(): 0, pid: 5787, name: trinity-c27
Preemption disabled at:[<ffffffff990acc7e>] vtime_account_system+0x1e/0x50
CPU: 0 PID: 5787 Comm: trinity-c27 Not tainted 3.15.0-rc7+ #219
 ffffffff99a47203 0000000099b50bef ffff880239f138c8 ffffffff99739dfb
 0000000000000000 ffff880239f138f0 ffffffff990a026c ffff8801078b5458
 ffff8801078b5450 ffffea00044be980 ffff880239f13908 ffffffff99741c30
Call Trace:
 [<ffffffff99739dfb>] dump_stack+0x4e/0x7a
 [<ffffffff990a026c>] __might_sleep+0x11c/0x1b0
 [<ffffffff99741c30>] down_write+0x20/0x40
 [<ffffffff9919337d>] __put_anon_vma+0x3d/0xc0
 [<ffffffff99193998>] page_get_anon_vma+0x68/0xb0
 [<ffffffff991b97e9>] migrate_pages+0x449/0x880
 [<ffffffff9917dc00>] ? isolate_freepages_block+0x360/0x360
 [<ffffffff9917ec8a>] compact_zone+0x38a/0x580
 [<ffffffff9917ef29>] compact_zone_order+0xa9/0x130
 [<ffffffff9917f329>] try_to_compact_pages+0xe9/0x140
 [<ffffffff991616da>] __alloc_pages_direct_compact+0x7a/0x250
 [<ffffffff99161fbb>] __alloc_pages_nodemask+0x70b/0xbb0
 [<ffffffff991a9c3f>] alloc_pages_vma+0xaf/0x1c0
 [<ffffffff991bdc8d>] do_huge_pmd_anonymous_page+0xed/0x3d0
 [<ffffffff991871b4>] handle_mm_fault+0x1b4/0xc50
 [<ffffffff9974358d>] ? retint_restore_args+0xe/0xe
 [<ffffffff99746939>] __do_page_fault+0x1c9/0x630
 [<ffffffff99118acb>] ? __acct_update_integrals+0x8b/0x120
 [<ffffffff9974725b>] ? preempt_count_sub+0xab/0x100
 [<ffffffff99746dbe>] do_page_fault+0x1e/0x70
 [<ffffffff997437f2>] page_fault+0x22/0x30

--
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>

WARNING: multiple messages have this Message-ID (diff)
From: Dave Jones <davej@redhat.com>
To: Linux Kernel <linux-kernel@vger.kernel.org>
Cc: linux-mm@kvack.org
Subject: sleeping function warning from __put_anon_vma
Date: Thu, 29 May 2014 20:09:44 -0400	[thread overview]
Message-ID: <20140530000944.GA29942@redhat.com> (raw)

BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:47
in_atomic(): 0, irqs_disabled(): 0, pid: 5787, name: trinity-c27
Preemption disabled at:[<ffffffff990acc7e>] vtime_account_system+0x1e/0x50
CPU: 0 PID: 5787 Comm: trinity-c27 Not tainted 3.15.0-rc7+ #219
 ffffffff99a47203 0000000099b50bef ffff880239f138c8 ffffffff99739dfb
 0000000000000000 ffff880239f138f0 ffffffff990a026c ffff8801078b5458
 ffff8801078b5450 ffffea00044be980 ffff880239f13908 ffffffff99741c30
Call Trace:
 [<ffffffff99739dfb>] dump_stack+0x4e/0x7a
 [<ffffffff990a026c>] __might_sleep+0x11c/0x1b0
 [<ffffffff99741c30>] down_write+0x20/0x40
 [<ffffffff9919337d>] __put_anon_vma+0x3d/0xc0
 [<ffffffff99193998>] page_get_anon_vma+0x68/0xb0
 [<ffffffff991b97e9>] migrate_pages+0x449/0x880
 [<ffffffff9917dc00>] ? isolate_freepages_block+0x360/0x360
 [<ffffffff9917ec8a>] compact_zone+0x38a/0x580
 [<ffffffff9917ef29>] compact_zone_order+0xa9/0x130
 [<ffffffff9917f329>] try_to_compact_pages+0xe9/0x140
 [<ffffffff991616da>] __alloc_pages_direct_compact+0x7a/0x250
 [<ffffffff99161fbb>] __alloc_pages_nodemask+0x70b/0xbb0
 [<ffffffff991a9c3f>] alloc_pages_vma+0xaf/0x1c0
 [<ffffffff991bdc8d>] do_huge_pmd_anonymous_page+0xed/0x3d0
 [<ffffffff991871b4>] handle_mm_fault+0x1b4/0xc50
 [<ffffffff9974358d>] ? retint_restore_args+0xe/0xe
 [<ffffffff99746939>] __do_page_fault+0x1c9/0x630
 [<ffffffff99118acb>] ? __acct_update_integrals+0x8b/0x120
 [<ffffffff9974725b>] ? preempt_count_sub+0xab/0x100
 [<ffffffff99746dbe>] do_page_fault+0x1e/0x70
 [<ffffffff997437f2>] page_fault+0x22/0x30


             reply	other threads:[~2014-05-30  0:09 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-05-30  0:09 Dave Jones [this message]
2014-05-30  0:09 ` sleeping function warning from __put_anon_vma Dave Jones
2014-05-31 20:33 ` Hugh Dickins
2014-05-31 20:33   ` Hugh Dickins
2014-05-31 21:04   ` Vlastimil Babka
2014-05-31 21:04     ` Vlastimil Babka
2014-05-31 21:16     ` Hugh Dickins
2014-05-31 21:16       ` Hugh Dickins
2014-06-01 19:32   ` Peter Zijlstra
2014-06-01 19:32     ` Peter Zijlstra
2014-06-02  9:30     ` Hugh Dickins
2014-06-02  9:30       ` Hugh Dickins

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=20140530000944.GA29942@redhat.com \
    --to=davej@redhat.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mm@kvack.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 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.