[lkml]   [2012]   [Oct]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Subject[PART5 Patch 0/5] introduce a new boot option 'kernelcore_max_addr'
From: Lai Jiangshan <>

This patch is part5 of the following patchset:

The patchset is based on Linus's tree with these three patches already applied:

Part1 is here:

Part2 is here:

Part3 is here:

Part4 is here:

You can apply this patch without the other parts. But it only can work with

We need something like kernelcore_max_addr=XX boot option to limit the
kernelcore upper address.

The memory with higher address will be migratable(movable) and they
are easier to be offline(always ready to be offline when the system don't require
so much memory).

It makes things easy when we dynamic hot-add/remove memory, make better
utilities of memories, and helps for THP.

Lai Jiangshan (1):
page_alloc: add kernelcore_max_addr

Yasuaki Ishimatsu (4):
x86: get pg_data_t's memory from other node
x86: use memblock_set_current_limit() to set memblock.current_limit
memblock: limit memory address from memblock
memblock: compare current_limit with end variable at

Documentation/kernel-parameters.txt | 9 +++++++++
arch/x86/kernel/setup.c | 4 ++--
arch/x86/mm/numa.c | 8 ++++++--
include/linux/memblock.h | 1 +
mm/memblock.c | 10 +++++++---
mm/page_alloc.c | 33 ++++++++++++++++++++++++++++++++-
6 files changed, 57 insertions(+), 8 deletions(-)

 \ /
  Last update: 2012-10-31 11:01    [from the cache]
©2003-2014 Jasper Spaans. hosted at Digital Ocean