diff options
author | Thorsten Blum <thorsten.blum@toblux.com> | 2024-07-26 16:12:46 +0300 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2024-09-02 06:25:52 +0300 |
commit | 592c9330e3692c9636adddfe17004870ae8dc434 (patch) | |
tree | a7f8058bd401a2f16a4a4714af03b843552309f1 /tools/testing/radix-tree/linux/xarray.h | |
parent | 073ebebd186250038a04be9693240f90f398c4b1 (diff) | |
download | linux-592c9330e3692c9636adddfe17004870ae8dc434.tar.xz |
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 'tools/testing/radix-tree/linux/xarray.h')
0 files changed, 0 insertions, 0 deletions