diff options
author | Vasily Gorbik <gor@linux.ibm.com> | 2018-04-11 20:15:24 +0300 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2018-10-09 12:21:12 +0300 |
commit | 54c57795e848100a2502b7a39b12b784292f4576 (patch) | |
tree | ae93ff66373017b80bbeecd2bc74aa5e04746246 /drivers/s390/crypto/zcrypt_cex4.c | |
parent | cd45c995610420755c5fe0d09afee3106c586e26 (diff) | |
download | linux-54c57795e848100a2502b7a39b12b784292f4576.tar.xz |
s390/mem_detect: replace tprot loop with binary search
In a situation when other memory detection methods are not available
(no SCLP and no z/VM diag260), continuous online memory is assumed.
Replacing tprot loop with faster binary search, as only online memory
end has to be found.
Reviewed-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Reviewed-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'drivers/s390/crypto/zcrypt_cex4.c')
0 files changed, 0 insertions, 0 deletions