|
@@ -5925,7 +5925,7 @@ static unsigned long __paginginit calc_memmap_size(unsigned long spanned_pages,
|
|
* the zone and SPARSEMEM is in use. If there are holes within the
|
|
* the zone and SPARSEMEM is in use. If there are holes within the
|
|
* zone, each populated memory region may cost us one or two extra
|
|
* zone, each populated memory region may cost us one or two extra
|
|
* memmap pages due to alignment because memmap pages for each
|
|
* memmap pages due to alignment because memmap pages for each
|
|
- * populated regions may not naturally algined on page boundary.
|
|
|
|
|
|
+ * populated regions may not be naturally aligned on page boundary.
|
|
* So the (present_pages >> 4) heuristic is a tradeoff for that.
|
|
* So the (present_pages >> 4) heuristic is a tradeoff for that.
|
|
*/
|
|
*/
|
|
if (spanned_pages > present_pages + (present_pages >> 4) &&
|
|
if (spanned_pages > present_pages + (present_pages >> 4) &&
|