Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f8d8406b authored by Ingo Molnar's avatar Ingo Molnar
Browse files

x86: cpa, fix out of date comment



Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent 7d8330a5
Loading
Loading
Loading
Loading
+6 −2
Original line number Original line Diff line number Diff line
@@ -870,8 +870,12 @@ void kernel_map_pages(struct page *page, int numpages, int enable)
		return;
		return;


	/*
	/*
	 * The return value is ignored - the calls cannot fail,
	 * The return value is ignored as the calls cannot fail.
	 * large pages are disabled at boot time:
	 * 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)
	if (enable)
		__set_pages_p(page, numpages);
		__set_pages_p(page, numpages);