From: Mel Gorman <mgorman@suse.de>
To: Gavin Shan <gwshan@linux.vnet.ibm.com>
Cc: linux-mm@kvack.org, zhlcindy@linux.vnet.ibm.com,
aneesh.kumar@linux.vnet.ibm.com
Subject: Re: [PATCH] mm: Disable DEFERRED_STRUCT_PAGE_INIT on !NO_BOOTMEM
Date: Thu, 14 Apr 2016 11:52:43 +0100 [thread overview]
Message-ID: <20160414105243.GC27534@suse.de> (raw)
In-Reply-To: <1460602170-5821-1-git-send-email-gwshan@linux.vnet.ibm.com>
On Thu, Apr 14, 2016 at 12:49:30PM +1000, Gavin Shan wrote:
> When we have !NO_BOOTMEM, the deferred page struct initialization
> doesn't work well because the pages reserved in bootmem are released
> to the page allocator uncoditionally. It causes memory corruption
> and system crash eventually.
>
> As Mel suggested, the bootmem is retiring slowly. We fix the issue
> by simply hiding DEFERRED_STRUCT_PAGE_INIT when bootmem is enabled.
>
> Signed-off-by: Gavin Shan <gwshan@linux.vnet.ibm.com>
Acked-by: Mel Gorman <mgorman@suse.de>
--
Mel Gorman
SUSE Labs
--
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>
prev parent reply other threads:[~2016-04-14 10:52 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-04-14 2:49 [PATCH] mm: Disable DEFERRED_STRUCT_PAGE_INIT on !NO_BOOTMEM Gavin Shan
2016-04-14 10:52 ` Mel Gorman [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=20160414105243.GC27534@suse.de \
--to=mgorman@suse.de \
--cc=aneesh.kumar@linux.vnet.ibm.com \
--cc=gwshan@linux.vnet.ibm.com \
--cc=linux-mm@kvack.org \
--cc=zhlcindy@linux.vnet.ibm.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).