diff options
author | Miaohe Lin <linmiaohe@huawei.com> | 2022-04-28 23:16:14 -0700 |
---|---|---|
committer | akpm <akpm@linux-foundation.org> | 2022-04-28 23:16:14 -0700 |
commit | f433195679a9639a3af5be03bcb9c3d933e3b261 (patch) | |
tree | f4e6a4f9783db299c4a83ec3f8256d5cef47561c /lib/crc32test.c | |
parent | 3afa793082e624f7bd83533010ff4a676451d4ee (diff) |
mm/mremap: use helper mlock_future_check()
Use helper mlock_future_check() to check whether it's safe to resize the
locked_vm to simplify the code. Minor readability improvement.
Link: https://lkml.kernel.org/r/20220322112004.27380-1-linmiaohe@huawei.com
Signed-off-by: Miaohe Lin <linmiaohe@huawei.com>
Reviewed-by: Wei Yang <richard.weiyang@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'lib/crc32test.c')
0 files changed, 0 insertions, 0 deletions