]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
mm/mlock: rename mlock_future_check() to mlock_future_ok()
authorAndrew Morton <akpm@linux-foundation.org>
Mon, 22 May 2023 20:52:10 +0000 (13:52 -0700)
committerAndrew Morton <akpm@linux-foundation.org>
Fri, 9 Jun 2023 23:25:38 +0000 (16:25 -0700)
commitb0cc5e89caadc21c2d8f7dc4c97947761b358876
tree962c8873aab85381c33af16c361313ffae02fa78
parent3c54a298db4c6b38bbd5f86216ce0f5ad4596ccf
mm/mlock: rename mlock_future_check() to mlock_future_ok()

It is felt that the name mlock_future_check() is vague - it doesn't
particularly convey the function's operation.  mlock_future_ok() is a
clearer name for a predicate function.

Acked-by: Vlastimil Babka <vbabka@suse.cz>
Cc: Liam Howlett <liam.howlett@oracle.com>
Cc: Lorenzo Stoakes <lstoakes@gmail.com>
Cc: Mike Rapoport (IBM) <rppt@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/internal.h
mm/mmap.c
mm/mremap.c
mm/secretmem.c