Skip to contentSkip to conversation

Patch "tile: use free_bootmem_late() for initrd" has been added to the 3.10-stable tree

PATCH [email protected] 1 participant 1 message Aug 8, 2015 Stable branch

lore
Share & tools
lore

[email protected]

author maintainer Applied
#0 lore raw

This is a note to let you know that I've just added the patch titled

tile: use free_bootmem_late() for initrd

to the 3.10-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
tile-use-free_bootmem_late-for-initrd.patch
and it can be found in the queue-3.10 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.

Quoted 1 line

From 3f81d2447b37ac697b3c600039f2c6b628c06e21 Mon Sep 17 00:00:00 2001

From: Chris Metcalf <[email protected]>
Date: Thu, 23 Jul 2015 14:11:09 -0400
Subject: tile: use free_bootmem_late() for initrd

From: Chris Metcalf <[email protected]>

commit 3f81d2447b37ac697b3c600039f2c6b628c06e21 upstream.

We were previously using free_bootmem() and just getting lucky that nothing too bad happened.

---
 arch/tile/kernel/setup.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/tile/kernel/setup.c +1 -1
@@ -1064,7 +1064,7 @@ static void __init load_hv_initrd(void)
 
 void __init free_initrd_mem(unsigned long begin, unsigned long end)
 {
-	free_bootmem(__pa(begin), end - begin);
+	free_bootmem_late(__pa(begin), end - begin);
 }
 
 #else

Patches currently in stable-queue which might be from [email protected] are

queue-3.10/tile-use-free_bootmem_late-for-initrd.patch