summaryrefslogtreecommitdiff
path: root/arch/x86/kernel/msr.c
diff options
context:
space:
mode:
authorArvind Sankar <nivedita@alum.mit.edu>2020-07-28 18:57:11 -0400
committerIngo Molnar <mingo@kernel.org>2020-07-31 11:08:17 +0200
commit79c2fd2afe55944098047721c33e06fd48654e57 (patch)
tree131e70a443ebe7f9df748890e9675ea0d46d3837 /arch/x86/kernel/msr.c
parentbf457be1548eee6d106daf9604e029b36fed2b11 (diff)
x86/kaslr: Fix off-by-one error in process_gb_huge_pages()
If the remaining size of the region is exactly 1Gb, there is still one hugepage that can be reserved. Signed-off-by: Arvind Sankar <nivedita@alum.mit.edu> Signed-off-by: Ingo Molnar <mingo@kernel.org> Link: https://lore.kernel.org/r/20200728225722.67457-11-nivedita@alum.mit.edu
Diffstat (limited to 'arch/x86/kernel/msr.c')
0 files changed, 0 insertions, 0 deletions