]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
x86-64: finish cleanup_highmaps()'s job wrt. _brk_end
authorJan Beulich <jbeulich@novell.com>
Wed, 6 May 2009 12:06:47 +0000 (13:06 +0100)
committerH. Peter Anvin <hpa@zytor.com>
Fri, 8 May 2009 04:51:34 +0000 (21:51 -0700)
commit498343967613183611ac37dccb2846496d954c06
treef0a1f93acbe49e4fb72c5dd77a25dc7f3d970e42
parent61438766514a2d7f191ce1b3cf6812eabbef4ef7
x86-64: finish cleanup_highmaps()'s job wrt. _brk_end

With the introduction of the .brk section, special care must be taken
that no unused page table entries remain if _brk_end and _end are
separated by a 2M page boundary. cleanup_highmap() runs very early and
hence cannot take care of that, hence potential entries needing to be
removed past _brk_end must be cleared once the brk allocator has done
its job.

[ Impact: avoids undesirable TLB aliases ]

Signed-off-by: Jan Beulich <jbeulich@novell.com>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
arch/x86/mm/init.c