diff options
author | 2021-08-24 15:21:44 +0200 | |
---|---|---|
committer | 2021-08-25 11:03:34 +0200 | |
commit | c4f0e5cfde354b1d6cf2388c0920264985c6c139 (patch) | |
tree | 20b2756b1da2350a4ac577382833d68eaf930025 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | s390: fix typo in linker script (diff) | |
download | linux-dev-c4f0e5cfde354b1d6cf2388c0920264985c6c139.tar.xz linux-dev-c4f0e5cfde354b1d6cf2388c0920264985c6c139.zip |
s390/mm,pageattr: fix walk_pte_level() early exit
In case of splitting to 4k mapping the early exit in walk_pte_level()
must only be taken iff flags is equal to SET_MEMORY_4K.
Currently the early exit is taken if the flag is set, and also others
might be set. This may lead to the situation that a mapping is split
but other changes are not done, like e.g. setting pages to R/W.
There is currently no such caller, but there might be in the future.
Fixes: b3e1a00c8fa4 ("s390/mm: implement set_memory_4k()")
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions