aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/mm/userfaultfd.c
diff options
context:
space:
mode:
authorThorsten Blum <thorsten.blum@toblux.com>2024-07-26 15:12:46 +0200
committerAndrew Morton <akpm@linux-foundation.org>2024-09-01 20:25:52 -0700
commit592c9330e3692c9636adddfe17004870ae8dc434 (patch)
treea7f8058bd401a2f16a4a4714af03b843552309f1 /mm/userfaultfd.c
parentpowerpc/8xx: document and enforce that split PT locks are not used (diff)
downloadwireguard-linux-592c9330e3692c9636adddfe17004870ae8dc434.tar.xz
wireguard-linux-592c9330e3692c9636adddfe17004870ae8dc434.zip
lib: test_hmm: use min() to improve dmirror_exclusive()
Use min() to simplify the dmirror_exclusive() function and improve its readability. Link: https://lkml.kernel.org/r/20240726131245.161695-1-thorsten.blum@toblux.com Signed-off-by: Thorsten Blum <thorsten.blum@toblux.com> Reviewed-by: David Hildenbrand <david@redhat.com> Cc: Jérôme Glisse <jglisse@redhat.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'mm/userfaultfd.c')
0 files changed, 0 insertions, 0 deletions