https://github.com/torvalds/linux
Revision 0145058c3d30b4319d747f64caa16a9cb15f0581 authored by Catalin Marinas on 16 January 2015, 13:56:38 UTC, committed by Will Deacon on 16 January 2015, 13:57:33 UTC
This patch partially reverts commit 421520ba98290a73b35b7644e877a48f18e06004
(only the arm64 part). There is no guarantee that the boot-loader places other
images like dtb in a different page than initrd start/end, especially when the
kernel is built with 64KB pages. When this happens, such pages must not be
freed. The free_reserved_area() already takes care of rounding up "start" and
rounding down "end" to avoid freeing partially used pages.

Cc: <stable@vger.kernel.org> # 3.17+
Reported-by: Peter Maydell <Peter.Maydell@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
1 parent cd25b85
History
Tip revision: 0145058c3d30b4319d747f64caa16a9cb15f0581 authored by Catalin Marinas on 16 January 2015, 13:56:38 UTC
arm64: partially revert "ARM: 8167/1: extend the reserved memory for initrd to be page aligned"
Tip revision: 0145058
File Mode Size
Kconfig -rw-r--r-- 1.1 KB
Makefile -rw-r--r-- 248 bytes
alloc.c -rw-r--r-- 22.9 KB
alloc.h -rw-r--r-- 3.9 KB
bmap.c -rw-r--r-- 14.4 KB
bmap.h -rw-r--r-- 8.2 KB
btnode.c -rw-r--r-- 7.7 KB
btnode.h -rw-r--r-- 2.0 KB
btree.c -rw-r--r-- 60.0 KB
btree.h -rw-r--r-- 2.7 KB
cpfile.c -rw-r--r-- 24.8 KB
cpfile.h -rw-r--r-- 1.7 KB
dat.c -rw-r--r-- 13.5 KB
dat.h -rw-r--r-- 2.3 KB
dir.c -rw-r--r-- 17.2 KB
direct.c -rw-r--r-- 8.9 KB
direct.h -rw-r--r-- 1.5 KB
export.h -rw-r--r-- 482 bytes
file.c -rw-r--r-- 4.4 KB
gcinode.c -rw-r--r-- 5.6 KB
ifile.c -rw-r--r-- 5.9 KB
ifile.h -rw-r--r-- 1.9 KB
inode.c -rw-r--r-- 30.0 KB
ioctl.c -rw-r--r-- 36.5 KB
mdt.c -rw-r--r-- 14.7 KB
mdt.h -rw-r--r-- 4.0 KB
namei.c -rw-r--r-- 13.3 KB
nilfs.h -rw-r--r-- 12.3 KB
page.c -rw-r--r-- 14.6 KB
page.h -rw-r--r-- 2.7 KB
recovery.c -rw-r--r-- 24.4 KB
segbuf.c -rw-r--r-- 13.8 KB
segbuf.h -rw-r--r-- 6.2 KB
segment.c -rw-r--r-- 71.6 KB
segment.h -rw-r--r-- 8.1 KB
sufile.c -rw-r--r-- 32.2 KB
sufile.h -rw-r--r-- 4.9 KB
super.c -rw-r--r-- 36.1 KB
sysfs.c -rw-r--r-- 31.6 KB
sysfs.h -rw-r--r-- 5.7 KB
the_nilfs.c -rw-r--r-- 21.2 KB
the_nilfs.h -rw-r--r-- 12.0 KB

back to top