diff options
author | Heiko Carstens <hca@linux.ibm.com> | 2022-02-21 21:25:19 +0100 |
---|---|---|
committer | Vasily Gorbik <gor@linux.ibm.com> | 2022-03-01 21:05:10 +0100 |
commit | 966ffbd8615a5c1b0bf474314bbd9ea8eb6ef423 (patch) | |
tree | e262b0f3543edb9bf10b9d38fc178b80e27b5c73 /tools/perf/scripts/python/libxed.py | |
parent | e1fc74ff23463f308709b824eed0d73e0a345f4e (diff) |
s390/mm: convert pte_val()/pXd_val() into functions
Disallow constructs like this:
pte_val(*pte) = __pa(addr) | prot;
which would directly write into a page table. Users are supposed to
use the set_pte()/set_pXd() primitives, which guarantee block
concurrent (aka atomic) writes.
Reviewed-by: Claudio Imbrenda <imbrenda@linux.ibm.com>
Reviewed-by: Alexander Gordeev <agordeev@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
Diffstat (limited to 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions