diff options
author | Gavin Shan <[email protected]> | 2016-05-27 14:27:49 -0700 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2016-05-27 14:49:37 -0700 |
commit | 11e685672a0861ce136cc4e7f6fdd11e5390b1fa (patch) | |
tree | 4850c18e2655f5f8395be6764e2924c08a91c733 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | 7cf7806ce1e30f1691cf340f70b807acbdf419ef (diff) |
mm: disable DEFERRED_STRUCT_PAGE_INIT on !NO_BOOTMEM
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.
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Gavin Shan <[email protected]>
Acked-by: Mel Gorman <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions