]> git.baikalelectronics.ru Git - kernel.git/commit
[S390] Use diag260 for memory size detection.
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Mon, 4 Dec 2006 14:40:42 +0000 (15:40 +0100)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Mon, 4 Dec 2006 14:40:42 +0000 (15:40 +0100)
commit9debb7a0aa3a38e4aabfddf7e729c4b2d33ff8de
treea1449e94cfaa5490aebd7f2980229a7b67a26023
parent4dea9eff51ccb82779c3b970910797e067decc0c
[S390] Use diag260 for memory size detection.

Avoid the tprot loop if diag260 works and reports that there are no
holes in memory. The tprot instruction can lead to a significant delay
in the ipl process if the virtual guest has a lot of memory and the
host is under memory pressure.

Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/kernel/head64.S