diff options
author | David Hildenbrand <david@redhat.com> | 2024-05-08 20:29:46 +0200 |
---|---|---|
committer | Alexander Gordeev <agordeev@linux.ibm.com> | 2024-06-05 17:17:23 +0200 |
commit | 3f29f6537f54d74e64bac0a390fb2e26da25800d (patch) | |
tree | 2cc5f9931dc7b8fc59c4d8800b3b1ce59ff2aa2f /scripts/lib/kdoc/kdoc_parser.py | |
parent | c3f38fa61af77b49866b006939479069cd451173 (diff) |
s390/uv: Don't call folio_wait_writeback() without a folio reference
folio_wait_writeback() requires that no spinlocks are held and that
a folio reference is held, as documented. After we dropped the PTL, the
folio could get freed concurrently. So grab a temporary reference.
Fixes: 214d9bbcd3a6 ("s390/mm: provide memory management functions for protected KVM guests")
Reviewed-by: Claudio Imbrenda <imbrenda@linux.ibm.com>
Signed-off-by: David Hildenbrand <david@redhat.com>
Link: https://lore.kernel.org/r/20240508182955.358628-2-david@redhat.com
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Alexander Gordeev <agordeev@linux.ibm.com>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_parser.py')
0 files changed, 0 insertions, 0 deletions