From: "Kirill A. Shutemov" <kirill@shutemov.name>
To: Wenwei Tao <ww.tao0320@gmail.com>
Cc: linux-mm@kvack.org, linux-kernel@vger.kernel.org
Subject: Re: kernel BUG at mm/huge_memory.c:1187!
Date: Mon, 10 Oct 2016 01:30:28 +0300 [thread overview]
Message-ID: <20161009223027.GA3964@node.shutemov.name> (raw)
In-Reply-To: <CACygaLCEsdDyERUACBqMfqupbvPyH7QOCcm3sE8nZuYbwfA=sQ@mail.gmail.com>
On Sun, Oct 09, 2016 at 03:24:27PM +0800, Wenwei Tao wrote:
> Hi,
>
> I open the Transparent huge page and run the system and hit the bug
> in huge_memory.c:
>
> static void __split_huge_page_refcount(struct page *page)
> .
> .
> .
>
> /* tail_page->_mapcount cannot change */
> BUG_ON(page_mapcount(page_tail) < 0);
> .
> .
>
> In my understanding, the THP's tail page's mapcount is initialized to
> -1, page_mapcout(page_tail) should be 0.
> Did anyone meet the same issue?
>
> Thanks.
>
> 2016-09-28 02:12:08 [810422.485203] ------------[ cut here ]------------
> 2016-09-28 02:12:08 [810422.489974] kernel BUG at mm/huge_memory.c:1187!
> 2016-09-28 02:12:08 [810422.494742] invalid opcode: 0000 [#1] SMP
> 2016-09-28 02:12:08 [810422.499034] last sysfs file:
> /sys/devices/system/cpu/online
> 2016-09-28 02:12:08 [810422.504757] CPU 31
> 2016-09-28 02:12:08 [810422.506775] Modules linked in: 8021q garp
> bridge stp llc dell_rbu ipmi_devintf ipmi_si ipmi_msghandler bonding
> ipv6 microcode dca power_meter ext4 mbcache jbd2 ahci wmi dm_mirror
> dm_region_hash dm_log dm_mod
> 2016-09-28 02:12:08 [810422.571439]
> 2016-09-28 02:12:08 [810422.573088] Pid: 10729, comm: observer
> Tainted: G W ---------------- 2.6.32-220.23.2.el6.x86_64
The kernel is already tianted with warning.
And that is way to old kernel -- from RHEL 6.2, almost 5 years old.
Contact your OS vendor.
--
Kirill A. Shutemov
--
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: "Kirill A. Shutemov" <kirill@shutemov.name>
To: Wenwei Tao <ww.tao0320@gmail.com>
Cc: linux-mm@kvack.org, linux-kernel@vger.kernel.org
Subject: Re: kernel BUG at mm/huge_memory.c:1187!
Date: Mon, 10 Oct 2016 01:30:28 +0300 [thread overview]
Message-ID: <20161009223027.GA3964@node.shutemov.name> (raw)
In-Reply-To: <CACygaLCEsdDyERUACBqMfqupbvPyH7QOCcm3sE8nZuYbwfA=sQ@mail.gmail.com>
On Sun, Oct 09, 2016 at 03:24:27PM +0800, Wenwei Tao wrote:
> Hi,
>
> I open the Transparent huge page and run the system and hit the bug
> in huge_memory.c:
>
> static void __split_huge_page_refcount(struct page *page)
> .
> .
> .
>
> /* tail_page->_mapcount cannot change */
> BUG_ON(page_mapcount(page_tail) < 0);
> .
> .
>
> In my understanding, the THP's tail page's mapcount is initialized to
> -1, page_mapcout(page_tail) should be 0.
> Did anyone meet the same issue?
>
> Thanks.
>
> 2016-09-28 02:12:08 [810422.485203] ------------[ cut here ]------------
> 2016-09-28 02:12:08 [810422.489974] kernel BUG at mm/huge_memory.c:1187!
> 2016-09-28 02:12:08 [810422.494742] invalid opcode: 0000 [#1] SMP
> 2016-09-28 02:12:08 [810422.499034] last sysfs file:
> /sys/devices/system/cpu/online
> 2016-09-28 02:12:08 [810422.504757] CPU 31
> 2016-09-28 02:12:08 [810422.506775] Modules linked in: 8021q garp
> bridge stp llc dell_rbu ipmi_devintf ipmi_si ipmi_msghandler bonding
> ipv6 microcode dca power_meter ext4 mbcache jbd2 ahci wmi dm_mirror
> dm_region_hash dm_log dm_mod
> 2016-09-28 02:12:08 [810422.571439]
> 2016-09-28 02:12:08 [810422.573088] Pid: 10729, comm: observer
> Tainted: G W ---------------- 2.6.32-220.23.2.el6.x86_64
The kernel is already tianted with warning.
And that is way to old kernel -- from RHEL 6.2, almost 5 years old.
Contact your OS vendor.
--
Kirill A. Shutemov
next prev parent reply other threads:[~2016-10-09 22:30 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-10-09 7:24 kernel BUG at mm/huge_memory.c:1187! Wenwei Tao
2016-10-09 7:24 ` Wenwei Tao
2016-10-09 22:30 ` Kirill A. Shutemov [this message]
2016-10-09 22:30 ` Kirill A. Shutemov
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=20161009223027.GA3964@node.shutemov.name \
--to=kirill@shutemov.name \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=ww.tao0320@gmail.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.