linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: Hillf Danton <dhillf@gmail.com>
To: Alexander Beregalov <a.beregalov@gmail.com>
Cc: Zhouping Liu <zliu@redhat.com>,
	linux-mm@kvack.org, linux-kernel@vger.kernel.org,
	Ingo Molnar <mingo@redhat.com>,
	Johannes Weiner <jweiner@redhat.com>,
	mgorman@suse.de, hughd@google.com,
	Andrea Arcangeli <aarcange@redhat.com>
Subject: Re: kernel BUG at mm/huge_memory.c:1798!
Date: Thu, 27 Dec 2012 20:12:02 +0800	[thread overview]
Message-ID: <CAJd=RBALzGQrrOpJri+AbVg6b_MyWW=rFG-3vb+6w_6YZ59BEA@mail.gmail.com> (raw)
In-Reply-To: <CAA1sL1TNq5QiA_6A9+qNjndr0dRL37hhhHgvvLLqr6tgj7CgOw@mail.gmail.com>

On Thu, Dec 27, 2012 at 8:31 AM, Alexander Beregalov
<a.beregalov@gmail.com> wrote:
> On 25 December 2012 16:05, Hillf Danton <dhillf@gmail.com> wrote:
>> On Tue, Dec 25, 2012 at 12:38 PM, Zhouping Liu <zliu@redhat.com> wrote:
>>> Hello all,
>>>
>>> I found the below kernel bug using latest mainline(637704cbc95),
>>> my hardware has 2 numa nodes, and it's easy to reproduce the issue
>>> using LTP test case: "# ./mmap10 -a -s -c 200":
>>
>> Can you test with 5a505085f0 and 4fc3f1d66b1 reverted?
>>
>
> Hello,
> does it look like the same problem?

Yes, it is, and thank you for reporting the oops.

Hillf

[  588.143072] mapcount 0 page_mapcount 3
[  588.147471] ------------[ cut here ]------------
[  588.152856] kernel BUG at mm/huge_memory.c:1798!
>
> mapcount 0 page_mapcount 1
> ------------[ cut here ]------------
> kernel BUG at mm/huge_memory.c:1798!


> invalid opcode: 0000 [#1] PREEMPT SMP
> Modules linked in: r8169 radeon cfbfillrect cfbimgblt cfbcopyarea
> i2c_algo_bit backlight drm_kms_helper ttm drm agpgart
> CPU 3
> Pid: 15825, comm: firefox Not tainted 3.8.0-rc1-00004-g637704c #1
> Gigabyte Technology Co., Ltd. P35-DS3/P35-DS3
> RIP: 0010:[<ffffffff810e89c9>]  [<ffffffff810e89c9>] split_huge_page+0x739/0x7a0
> RSP: 0018:ffff880193b43b78  EFLAGS: 00010297
> RAX: 0000000000000001 RBX: ffffea0002fd0000 RCX: ffffffff8175e078
> RDX: 000000000000003e RSI: ffffea0002fd0000 RDI: 0000000000000246
> RBP: ffff880193b43c48 R08: 000000000000ffff R09: 0000000000000000
> R10: 00000000000002d5 R11: 0000000000000000 R12: 0000000000000000
> R13: ffff880173533464 R14: 00007f0973000000 R15: ffffea0002fd0000
> FS:  00007f09b8db6740(0000) GS:ffff88019fd80000(0000) knlGS:0000000000000000
> CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
> CR2: 00007ff210e78008 CR3: 0000000195379000 CR4: 00000000000007e0
> DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
> DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
> Process firefox (pid: 15825, threadinfo ffff880193b42000, task ffff880198af9f90)
> Stack:
>  0000000000000000 ffff880193b43e1c 0000000000000000 0000000000000019
>  ffff880193b43c08 ffff880100000000 ffff88017af80180 ffff880100000000
>  ffff880173533400 ffff880198af9f90 000000009fc91540 ffff88017af801b0
> Call Trace:
>  [<ffffffff810e9d74>] __split_huge_page_pmd+0xe4/0x280
>  [<ffffffff810a9b9e>] ? free_hot_cold_page_list+0x3e/0x60
>  [<ffffffff810c22cd>] unmap_single_vma+0x77d/0x820
>  [<ffffffff810c2c14>] zap_page_range+0xa4/0xe0
>  [<ffffffff813d9846>] ? sys_recvfrom+0xd6/0x120
>  [<ffffffff810bfa7d>] sys_madvise+0x31d/0x660
>  [<ffffffff81482b2d>] system_call_fastpath+0x1a/0x1f
> Code: 83 39 00 f3 90 49 8b 45 00 a9 00 00 80 00 75 f3 41 ff 84 24 44
> e0 ff ff f0 41 0f ba 6d 00 17 19 c0 85 c0 0f 84 d7 fa ff ff eb c8 <0f>
> 0b 8b 53 18 8b 75 9c ff c2 48 c7 c7 60 95 5c 81 31 c0 e8 ac
> RIP  [<ffffffff810e89c9>] split_huge_page+0x739/0x7a0
>  RSP <ffff880193b43b78>

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

  reply	other threads:[~2012-12-27 12:12 UTC|newest]

Thread overview: 32+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1621091901.34838094.1356409676820.JavaMail.root@redhat.com>
2012-12-25  4:38 ` Zhouping Liu
2012-12-25 12:05   ` Hillf Danton
2012-12-26  2:55     ` Zhouping Liu
2012-12-27  0:31     ` Alexander Beregalov
2012-12-27 12:12       ` Hillf Danton [this message]
2012-12-27 16:08     ` Alex Xu
2012-12-29  7:22       ` Hillf Danton
2012-12-26 11:22   ` BUG: unable to handle kernel NULL pointer dereference at 0000000000000500 Zhouping Liu
2012-12-26 12:01     ` Hillf Danton
2012-12-26 13:24       ` Zhouping Liu
2012-12-26 15:14         ` Hillf Danton
2012-12-26 14:59     ` Zlatko Calusic
2012-12-27 14:58     ` Zlatko Calusic
     [not found]       ` <20121227235514.GA7166@ganymede>
2012-12-28  0:09         ` Zlatko Calusic
2012-12-28  2:45       ` Zhouping Liu
2012-12-28  2:48         ` Zhouping Liu
2012-12-28  9:01         ` Zhouping Liu
2012-12-28 13:43           ` Zlatko Calusic
2012-12-28 12:57         ` Zlatko Calusic
2013-01-03 17:57   ` kernel BUG at mm/huge_memory.c:1798! Mel Gorman
2013-01-04 14:08     ` [PATCH] mm: thp: Acquire the anon_vma rwsem for lock during split Mel Gorman
2013-01-04 21:28       ` Hugh Dickins
2013-01-07 14:36         ` Mel Gorman
2013-01-07 14:39         ` [PATCH] mm: thp: Acquire the anon_vma rwsem for write " Mel Gorman
2013-01-05  1:32       ` [PATCH] mm: thp: Acquire the anon_vma rwsem for lock " Michel Lespinasse
2013-01-05 12:24         ` Simon Jeons
2013-01-07 15:09           ` Mel Gorman
2013-01-07 15:08         ` Mel Gorman
2013-01-05  5:51       ` Zhouping Liu
2013-01-07 14:38         ` Mel Gorman
2013-01-05 12:21       ` Simon Jeons
2013-01-04 16:58     ` kernel BUG at mm/huge_memory.c:1798! Zhouping Liu

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='CAJd=RBALzGQrrOpJri+AbVg6b_MyWW=rFG-3vb+6w_6YZ59BEA@mail.gmail.com' \
    --to=dhillf@gmail.com \
    --cc=a.beregalov@gmail.com \
    --cc=aarcange@redhat.com \
    --cc=hughd@google.com \
    --cc=jweiner@redhat.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mm@kvack.org \
    --cc=mgorman@suse.de \
    --cc=mingo@redhat.com \
    --cc=zliu@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox