kernel-fxtec-pro1x/drivers/s390
Heiko Carstens df1bd59c5c s390/mem_detect: limit memory detection loop to "mem=" parameter
The current memory detection loop will detect all present memory of
a machine. This is true even if the user specified the "mem=" parameter
on the kernel command line.
This can be a problem since the memory detection may cause a fully
populated host page table for the guest, even for those parts of the
memory that the guest will never use afterwards.

So fix this and only detect memory up to a user supplied "mem=" limit
if specified.

Reported-by: Michael Johanssen <johanssn@de.ibm.com>
Reviewed-by: Michael Holzheu <holzheu@linux.vnet.ibm.com>
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
2013-05-02 15:50:26 +02:00
..
block s390/scm_blk: fix memleak in init function 2013-04-26 09:07:17 +02:00
char s390/mem_detect: limit memory detection loop to "mem=" parameter 2013-05-02 15:50:26 +02:00
cio s390/cio: add condev keyword to cio_ignore 2013-05-02 15:50:20 +02:00
crypto s390/irq: remove split irq fields from /proc/stat 2013-01-08 10:57:07 +01:00
kvm s390/kvm: Change the virtual memory mapping location for Virtio devices 2013-05-02 15:50:24 +02:00
net Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2013-04-22 20:32:51 -04:00
scsi s390/time: rename tod clock access functions 2013-02-14 15:55:10 +01:00
Makefile [S390] split/move machine check handler code 2009-03-26 15:24:10 +01:00