diff options
author | Heiko Carstens <hca@linux.ibm.com> | 2025-03-10 14:42:59 +0300 |
---|---|---|
committer | Vasily Gorbik <gor@linux.ibm.com> | 2025-03-18 19:13:05 +0300 |
commit | 9291ea091b29bb3e37c4b3416c7c1e49e472c7d5 (patch) | |
tree | 2a65b11795845ffe69927f42aa3b766e1f3ffa89 /rust/helpers/helpers.c | |
parent | df4623fb53c2014e39a07801dd2ac49cb8701f44 (diff) | |
download | linux-9291ea091b29bb3e37c4b3416c7c1e49e472c7d5.tar.xz |
s390/tlb: Use mm_has_pgste() instead of mm_alloc_pgste()
An mm has pgstes only after s390_enable_sie() has been called, while
mm_alloc_pgste() may be always true (e.g. via sysctl setting).
Limit the calls to gmap_unlink() in pte_free_tlb() to those cases
where there might be something to unlink.
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 'rust/helpers/helpers.c')
0 files changed, 0 insertions, 0 deletions