lkml.org 
[lkml]   [2016]   [Nov]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[RFC PATCH v2] xen/x86: Increase xen_e820_map to E820_X_MAX possible entries
Date
Here's the second round of my patches to fix up the problems that we're
seeing with the XENMEM_machine_memory_map hypercall. These few simple
changes, to give xen_e820_map some extra space, get things working fine
on our large machine.

This version of the patchset adds a patch to remove the #ifdef
CONFIG_EFI conditional around the definition of E820_X_MAX, so that it's
always slightly larger than E820MAX. I've also tweaked the code that
works on xen_e820_map to use ARRAY_SIZE(xen_e820_map) instead of using
E820_X_MAX directly, as suggested by Boris.

As always, I appreciate any input that others can give!

- Alex

Alex Thorlton (2):
x86: Make E820_X_MAX unconditionally larger than E820MAX
xen/x86: Increase xen_e820_map to E820_X_MAX possible entries

arch/x86/include/asm/e820.h | 8 +++-----
arch/x86/xen/setup.c | 6 +++---
2 files changed, 6 insertions(+), 8 deletions(-)

--
1.8.5.6

\
 
 \ /
  Last update: 2016-11-30 04:25    [W:0.197 / U:0.384 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site