mirror of
https://github.com/ibm-s390-linux/s390-tools.git
synced 2026-08-05 02:14:52 +00:00
Old implementation was using Test Protection (TPROT) instruction to validate the memory page. Given that it is a rather slow instruction and the fact that we only need to validate the read-access for a page, we can use simple Load or Insert Character instruction to test that. The new version of page_is_valid() without a TPROT is introduced. Signed-off-by: Mikhail Zaslonko <zaslonko@linux.vnet.ibm.com> Reviewed-by: Heiko Carstens <heiko.carstens@de.ibm.com> Signed-off-by: Jan Höppner <hoeppner@linux.ibm.com>
2.5 KiB
2.5 KiB