summaryrefslogtreecommitdiff
path: root/scripts/basic
diff options
context:
space:
mode:
authorMiaohe Lin <linmiaohe@huawei.com>2022-04-29 09:16:12 +0300
committerakpm <akpm@linux-foundation.org>2022-04-29 09:16:12 +0300
commitc5d8a3643d91be748d7ff12eedc5876f32cc8283 (patch)
treecf1ca7621cf71e783f3fff7e9f500f842f4f0b19 /scripts/basic
parent6c862bd05922af770c5b652037404c4f8131d984 (diff)
downloadlinux-c5d8a3643d91be748d7ff12eedc5876f32cc8283.tar.xz
mm/mmap.c: use helper mlock_future_check()
Use helper mlock_future_check() to check whether it's safe to enlarge the locked_vm to simplify the code. Minor readability improvement. Link: https://lkml.kernel.org/r/20220402032231.64974-1-linmiaohe@huawei.com Signed-off-by: Miaohe Lin <linmiaohe@huawei.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'scripts/basic')
0 files changed, 0 insertions, 0 deletions