Commit 68ad4743 authored by David Hildenbrand's avatar David Hildenbrand Committed by Alexander Gordeev
Browse files

s390/uv: gmap_make_secure() cleanups for further changes



Let's factor out handling of LRU cache draining and convert the if-else
chain to a switch-case.

Reviewed-by: default avatarClaudio Imbrenda <imbrenda@linux.ibm.com>
Signed-off-by: default avatarDavid Hildenbrand <david@redhat.com>
Link: https://lore.kernel.org/r/20240508182955.358628-3-david@redhat.com


Signed-off-by: default avatarHeiko Carstens <hca@linux.ibm.com>
Signed-off-by: default avatarAlexander Gordeev <agordeev@linux.ibm.com>
parent 3f29f653
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment