aboutsummaryrefslogtreecommitdiffstats
path: root/include/xen/xen.h
diff options
context:
space:
mode:
authorJuergen Gross <jgross@suse.com>2019-02-14 11:42:39 +0100
committerJuergen Gross <jgross@suse.com>2019-02-18 06:50:34 +0100
commit357b4da50a62e2fd70eacee21cdbd22d4c7a7b60 (patch)
tree67ddf0b7850cf8fa134d97cf00ba7647bf627591 /include/xen/xen.h
parentxen/gntdev: Check and release imported dma-bufs on close (diff)
downloadlinux-dev-357b4da50a62e2fd70eacee21cdbd22d4c7a7b60.tar.xz
linux-dev-357b4da50a62e2fd70eacee21cdbd22d4c7a7b60.zip
x86: respect memory size limiting via mem= parameter
When limiting memory size via kernel parameter "mem=" this should be respected even in case of memory made accessible via a PCI card. Today this kind of memory won't be made usable in initial memory setup as the memory won't be visible in E820 map, but it might be added when adding PCI devices due to corresponding ACPI table entries. Not respecting "mem=" can be corrected by adding a global max_mem_size variable set by parse_memopt() which will result in rejecting adding memory areas resulting in a memory size above the allowed limit. Signed-off-by: Juergen Gross <jgross@suse.com> Acked-by: Ingo Molnar <mingo@kernel.org> Reviewed-by: William Kucharski <william.kucharski@oracle.com> Signed-off-by: Juergen Gross <jgross@suse.com>
Diffstat (limited to 'include/xen/xen.h')
0 files changed, 0 insertions, 0 deletions