diff options
author | Yinghai Lu <yinghai@kernel.org> | 2012-10-23 01:35:18 +0200 |
---|---|---|
committer | H. Peter Anvin <hpa@linux.intel.com> | 2012-10-24 20:52:21 +0200 |
commit | 6ede1fd3cb404c0016de6ac529df46d561bd558b (patch) | |
tree | c5537b527a5a065fff2bd9b33d003561a0d87206 /samples | |
parent | x86/irq/ioapic: Check for valid irq_cfg pointer in smp_irq_move_cleanup_inter... (diff) | |
download | linux-6ede1fd3cb404c0016de6ac529df46d561bd558b.tar.xz linux-6ede1fd3cb404c0016de6ac529df46d561bd558b.zip |
x86, mm: Trim memory in memblock to be page aligned
We will not map partial pages, so need to make sure memblock
allocation will not allocate those bytes out.
Also we will use for_each_mem_pfn_range() to loop to map memory
range to keep them consistent.
Signed-off-by: Yinghai Lu <yinghai@kernel.org>
Link: http://lkml.kernel.org/r/CAE9FiQVZirvaBMFYRfXMmWEcHbKSicQEHz4VAwUv0xFCk51ZNw@mail.gmail.com
Acked-by: Jacob Shin <jacob.shin@amd.com>
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Cc: <stable@vger.kernel.org>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions