Skip to content

Commit

Permalink
x86: cpa, fix out of date comment
Browse files Browse the repository at this point in the history
Signed-off-by: Ingo Molnar <mingo@elte.hu>
  • Loading branch information
Ingo Molnar committed Feb 14, 2008
1 parent 7d8330a commit f8d8406
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions arch/x86/mm/pageattr.c
Original file line number Diff line number Diff line change
Expand Up @@ -870,8 +870,12 @@ void kernel_map_pages(struct page *page, int numpages, int enable)
return;

/*
* The return value is ignored - the calls cannot fail,
* large pages are disabled at boot time:
* The return value is ignored as the calls cannot fail.
* Large pages are kept enabled at boot time, and are
* split up quickly with DEBUG_PAGEALLOC. If a splitup
* fails here (due to temporary memory shortage) no damage
* is done because we just keep the largepage intact up
* to the next attempt when it will likely be split up:
*/
if (enable)
__set_pages_p(page, numpages);
Expand Down

0 comments on commit f8d8406

Please sign in to comment.