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-- 3.3 KB
Makefile -rw-r--r-- 1.1 KB
README -rw-r--r-- 7.9 KB
acl.h -rw-r--r-- 1.8 KB
bitmap.c -rw-r--r-- 39.3 KB
dir.c -rw-r--r-- 9.0 KB
do_balan.c -rw-r--r-- 54.3 KB
file.c -rw-r--r-- 7.7 KB
fix_node.c -rw-r--r-- 77.4 KB
hashes.c -rw-r--r-- 3.5 KB
ibalance.c -rw-r--r-- 34.3 KB
inode.c -rw-r--r-- 93.1 KB
ioctl.c -rw-r--r-- 5.3 KB
item_ops.c -rw-r--r-- 18.0 KB
journal.c -rw-r--r-- 120.4 KB
lbalance.c -rw-r--r-- 41.3 KB
lock.c -rw-r--r-- 2.6 KB
namei.c -rw-r--r-- 43.6 KB
objectid.c -rw-r--r-- 6.8 KB
prints.c -rw-r--r-- 20.7 KB
procfs.c -rw-r--r-- 13.4 KB
reiserfs.h -rw-r--r-- 116.7 KB
resize.c -rw-r--r-- 6.3 KB
stree.c -rw-r--r-- 64.0 KB
super.c -rw-r--r-- 67.9 KB
tail_conversion.c -rw-r--r-- 9.2 KB
xattr.c -rw-r--r-- 25.7 KB
xattr.h -rw-r--r-- 4.0 KB
xattr_acl.c -rw-r--r-- 9.5 KB
xattr_security.c -rw-r--r-- 2.9 KB
xattr_trusted.c -rw-r--r-- 1.4 KB
xattr_user.c -rw-r--r-- 1.3 KB

README

back to top