diff options
author | Stefano Stabellini <stefano.stabellini@eu.citrix.com> | 2011-06-03 09:51:34 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-07-13 05:31:23 +0200 |
commit | 6961b18f7cdd1357b3e31a6b97807034204220c6 (patch) | |
tree | 15ae3a8db84a322994bf7b80c599b490233a5f32 /lib/rbtree.c | |
parent | c3ce2d3992b7028a545b5dd9d25f892ef066a62f (diff) | |
download | lwn-6961b18f7cdd1357b3e31a6b97807034204220c6.tar.gz lwn-6961b18f7cdd1357b3e31a6b97807034204220c6.zip |
xen: partially revert "xen: set max_pfn_mapped to the last pfn mapped"
commit a91d92875ee94e4703fd017ccaadb48cfb344994 upstream.
We only need to set max_pfn_mapped to the last pfn mapped on x86_64 to
make sure that cleanup_highmap doesn't remove important mappings at
_end.
We don't need to do this on x86_32 because cleanup_highmap is not called
on x86_32. Besides lowering max_pfn_mapped on x86_32 has the unwanted
side effect of limiting the amount of memory available for the 1:1
kernel pagetable allocation.
This patch reverts the x86_32 part of the original patch.
Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'lib/rbtree.c')
0 files changed, 0 insertions, 0 deletions