mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Meelis Roos <mroos@linux.ee>
To: linux-mm@vger.kernel.org
Cc: Linux Kernel list <linux-kernel@vger.kernel.org>,
	sparclinux@vgker.kernel.org
Subject: THP bug and crash on sparc64 3.8
Date: Tue, 19 Feb 2013 13:56:53 +0200 (EET)	[thread overview]
Message-ID: <alpine.SOC.1.00.1302191350280.10147@math.ut.ee> (raw)

I am receiving this with 3.8.0 on Sun E420R (4G RAM, 4 CPUs). System 
hangs after logging this to syslog. It was busy  running ap at the 
moment of crash.

CONFIG_TRANSPARENT_HUGEPAGE=y
CONFIG_TRANSPARENT_HUGEPAGE_ALWAYS=y
# CONFIG_TRANSPARENT_HUGEPAGE_MADVISE is not set

BUG: sleeping function called from invalid context at mm/slub.c:925
in_atomic(): 1, irqs_disabled(): 0, pid: 327, name: khugepaged
2 locks held by khugepaged/327:
 #0:  (&mm->mmap_sem){++++++}, at: [<0000000000516964>] 
khugepaged+0x624/0xf80
 #1:  (&(&mm->page_table_lock)->rlock){+.+.+.}, at: [<0000000000517078>] 
khugepaged+0xd38/0xf

Call Trace:
 [0000000000488d9c] __might_sleep+0x13c/0x240
 [000000000051204c] kmem_cache_alloc+0xcc/0x120
 [000000000044bfc0] tsb_grow+0x80/0x480
 [000000000044e814] hugetlb_setup+0x14/0xc0
 [000000000044bcb0] set_pmd_at+0x110/0x120
 [00000000005170b8] khugepaged+0xd78/0xf80
 [000000000047e508] kthread+0x88/0xa0
 [00000000004060a4] ret_from_syscall+0x1c/0x2c
 [0000000000000000]           (null)

-- 
Meelis Roos (mroos@linux.ee)

             reply	other threads:[~2013-02-19 11:57 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-02-19 11:56 Meelis Roos [this message]
2013-02-19 12:05 ` Meelis Roos
2013-02-19 18:17   ` David Miller
2013-02-19 19:33   ` David Miller
2013-02-19 19:37     ` David Rientjes
2013-02-19 19:46       ` David Miller
2013-02-20  6:41         ` David Miller
2013-02-20 13:35           ` Meelis Roos
2013-02-20 17:50             ` David Miller
2013-02-20 21:34             ` David Miller
2013-06-26 20:56               ` Meelis Roos

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=alpine.SOC.1.00.1302191350280.10147@math.ut.ee \
    --to=mroos@linux.ee \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mm@vger.kernel.org \
    --cc=sparclinux@vgker.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®