From: "Kirill A. Shutemov" <kirill.shutemov@linux.intel.com>
To: Bob Liu <lliubbo@gmail.com>
Cc: Jiri Slaby <jslaby@suse.cz>,
linux-mm@kvack.org, LKML <linux-kernel@vger.kernel.org>,
David Rientjes <rientjes@google.com>,
Andrew Morton <akpm@linux-foundation.org>,
Andrea Arcangeli <aarcange@redhat.com>
Subject: Re: [PATCH 0/2] kernel BUG at mm/huge_memory.c:212!
Date: Wed, 12 Dec 2012 12:59:13 +0200 [thread overview]
Message-ID: <20121212105913.GA14379@otc-wbsnb-06> (raw)
In-Reply-To: <CAA_GA1dZm7LYe46vdurFf8avbSViPeT2jC_L0A3Oejg97RsmBA@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1189 bytes --]
On Wed, Dec 12, 2012 at 01:36:36PM +0800, Bob Liu wrote:
> On Mon, Dec 3, 2012 at 9:02 PM, Jiri Slaby <jslaby@suse.cz> wrote:
> > On 11/30/2012 04:03 PM, Kirill A. Shutemov wrote:
> >> From: "Kirill A. Shutemov" <kirill.shutemov@linux.intel.com>
> >>
> >> Hi Jiri,
> >>
> >> Sorry for late answer. It took time to reproduce and debug the issue.
> >>
> >> Could you test two patches below by thread. I expect it to fix both
> >> issues: put_huge_zero_page() and Bad rss-counter state.
> >
> > Hi, yes, since applying the patches on the last Thu, it didn't recur.
> >
> >> Kirill A. Shutemov (2):
> >> thp: fix anononymous page accounting in fallback path for COW of HZP
> >> thp: avoid race on multiple parallel page faults to the same page
> >>
> >> mm/huge_memory.c | 30 +++++++++++++++++++++++++-----
> >> 1 file changed, 25 insertions(+), 5 deletions(-)
> >
>
> I still saw this bug on 3.7.0-rc8, but it's hard to reproduce it.
> It appears only once.
I guess the patch you've posted fixes the issue, right?
It's useful to enable debug_cow to test fallback path:
echo 1 > /sys/kernel/mm/transparent_hugepage/debug_cow
--
Kirill A. Shutemov
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
prev parent reply other threads:[~2012-12-12 10:57 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-11-27 21:18 kernel BUG at mm/huge_memory.c:212! Jiri Slaby
2012-11-27 23:47 ` David Rientjes
2012-11-29 7:38 ` Bob Liu
2012-11-30 15:03 ` [PATCH 0/2] " Kirill A. Shutemov
2012-11-30 15:03 ` [PATCH 1/2] thp: fix anononymous page accounting in fallback path for COW of HZP Kirill A. Shutemov
2012-12-03 3:14 ` Bob Liu
2012-12-03 8:15 ` Kirill A. Shutemov
2012-11-30 15:03 ` [PATCH 2/2] thp: avoid race on multiple parallel page faults to the same page Kirill A. Shutemov
2012-12-03 2:29 ` Bob Liu
2012-12-03 13:02 ` [PATCH 0/2] kernel BUG at mm/huge_memory.c:212! Jiri Slaby
2012-12-12 5:36 ` Bob Liu
2012-12-12 10:59 ` Kirill A. Shutemov [this message]
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=20121212105913.GA14379@otc-wbsnb-06 \
--to=kirill.shutemov@linux.intel.com \
--cc=aarcange@redhat.com \
--cc=akpm@linux-foundation.org \
--cc=jslaby@suse.cz \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=lliubbo@gmail.com \
--cc=rientjes@google.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;
as well as URLs for NNTP newsgroup(s).