mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-20 09:34:44 +08:00
63ae602cea
Merge the gup_flags cleanups from Lorenzo Stoakes:
"This patch series adjusts functions in the get_user_pages* family such
that desired FOLL_* flags are passed as an argument rather than
implied by flags.
The purpose of this change is to make the use of FOLL_FORCE explicit
so it is easier to grep for and clearer to callers that this flag is
being used. The use of FOLL_FORCE is an issue as it overrides missing
VM_READ/VM_WRITE flags for the VMA whose pages we are reading
from/writing to, which can result in surprising behaviour.
The patch series came out of the discussion around commit
|
||
---|---|---|
.. | ||
asm-offsets.c | ||
entry.S | ||
head.S | ||
irq.c | ||
Makefile | ||
module.c | ||
process.c | ||
ptrace.c | ||
setup.c | ||
signal.c | ||
sys_call_table.c | ||
sys_score.c | ||
time.c | ||
traps.c | ||
vmlinux.lds.S |