summaryrefslogtreecommitdiffstats
path: root/mm/dmapool.c
diff options
context:
space:
mode:
authorZhangPeng <zhangpeng362@huawei.com>2023-04-17 08:39:19 +0800
committerAndrew Morton <akpm@linux-foundation.org>2023-04-21 14:52:02 -0700
commit686ea6e61da61e46ae7068f73167ca26e0c67efb (patch)
tree67b39532bad3c68d081dda8a41c82e0832b5bc65 /mm/dmapool.c
parent13215e8a4bb336dac2af561d4f5c34a071810ee4 (diff)
downloadlinux-686ea6e61da61e46ae7068f73167ca26e0c67efb.tar.gz
linux-686ea6e61da61e46ae7068f73167ca26e0c67efb.tar.bz2
linux-686ea6e61da61e46ae7068f73167ca26e0c67efb.zip
userfaultfd: use helper function range_in_vma()
We can use range_in_vma() to check if dst_start, dst_start + len are within the dst_vma range. Minor readability improvement. Link: https://lkml.kernel.org/r/20230417003919.930515-1-zhangpeng362@huawei.com Signed-off-by: ZhangPeng <zhangpeng362@huawei.com> Reviewed-by: David Hildenbrand <david@redhat.com> Cc: Kefeng Wang <wangkefeng.wang@huawei.com> Cc: Mike Kravetz <mike.kravetz@oracle.com> Cc: Nanyong Sun <sunnanyong@huawei.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'mm/dmapool.c')
0 files changed, 0 insertions, 0 deletions