Home
last modified time | relevance | path

Searched hist:c5d8a3643d91be748d7ff12eedc5876f32cc8283 (Results 1 – 1 of 1) sorted by relevance

/linux/mm/
H A Dmmap.cdiff c5d8a3643d91be748d7ff12eedc5876f32cc8283 Fri Apr 29 08:16:12 CEST 2022 Miaohe Lin <linmiaohe@huawei.com> 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>