Centos-kernel-stream-9/io_uring
Rafael Aquini 83191dde1b mm/gup: remove vmas parameter from pin_user_pages()
JIRA: https://issues.redhat.com/browse/RHEL-27742

This patch is a backport of the following upstream commit:
commit 4c630f307455c06f99bdeca7f7a1ab5318604fe0
Author: Lorenzo Stoakes <lstoakes@gmail.com>
Date:   Wed May 17 20:25:45 2023 +0100

    mm/gup: remove vmas parameter from pin_user_pages()

    We are now in a position where no caller of pin_user_pages() requires the
    vmas parameter at all, so eliminate this parameter from the function and
    all callers.

    This clears the way to removing the vmas parameter from GUP altogether.

    Link: https://lkml.kernel.org/r/195a99ae949c9f5cb589d2222b736ced96ec199a.1684350871.git.lstoakes@gmail.com
    Signed-off-by: Lorenzo Stoakes <lstoakes@gmail.com>
    Acked-by: David Hildenbrand <david@redhat.com>
    Acked-by: Dennis Dalessandro <dennis.dalessandro@cornelisnetworks.com>  [qib]
    Reviewed-by: Christoph Hellwig <hch@lst.de>
    Acked-by: Sakari Ailus <sakari.ailus@linux.intel.com>   [drivers/media]
    Cc: Catalin Marinas <catalin.marinas@arm.com>
    Cc: Christian König <christian.koenig@amd.com>
    Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    Cc: Janosch Frank <frankja@linux.ibm.com>
    Cc: Jarkko Sakkinen <jarkko@kernel.org>
    Cc: Jason Gunthorpe <jgg@nvidia.com>
    Cc: Jens Axboe <axboe@kernel.dk>
    Cc: Matthew Wilcox (Oracle) <willy@infradead.org>
    Cc: Sean Christopherson <seanjc@google.com>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>

Signed-off-by: Rafael Aquini <raquini@redhat.com>
2024-09-05 20:35:37 -04:00
..
Makefile io_uring/register: move io_uring_register(2) related code to register.c 2024-07-02 14:33:36 -04:00
advise.c
advise.h
alloc_cache.h
cancel.c io_uring: add support for futex wake and wait 2024-07-02 09:50:34 -04:00
cancel.h io_uring: add support for futex wake and wait 2024-07-02 09:50:34 -04:00
epoll.c
epoll.h
fdinfo.c io_uring/fdinfo: remove need for sqpoll lock for thread/pid retrieval 2024-02-01 12:04:14 -05:00
fdinfo.h
filetable.c io_uring: drop any code related to SCM_RIGHTS 2024-05-15 13:58:17 -04:00
filetable.h io_uring: expand main struct io_kiocb flags to 64-bits 2024-07-02 14:33:37 -04:00
fs.c io_uring/fs: consider link->flags when getting path for LINKAT 2024-02-01 12:05:14 -05:00
fs.h
futex.c io_uring/futex: always remove futex entry for cancel all 2024-07-02 14:33:38 -04:00
futex.h io_uring: add support for vectored futex waits 2024-07-02 09:51:34 -04:00
io-wq.c io_uring/io-wq: Use set_bit() and test_bit() at worker->flags 2024-07-26 17:06:38 -04:00
io-wq.h
io_uring.c io_uring: only taint the kernel on successful system call 2024-07-02 14:33:42 -04:00
io_uring.h io_uring: use the right type for work_llist empty check 2024-07-02 14:33:41 -04:00
kbuf.c io_uring/kbuf: hold io_buffer_list reference over mmap 2024-07-02 14:33:40 -04:00
kbuf.h io_uring/kbuf: hold io_buffer_list reference over mmap 2024-07-02 14:33:40 -04:00
msg_ring.c
msg_ring.h
net.c io_uring/net: ensure async prep handlers always initialize ->done_io 2024-07-02 14:33:42 -04:00
net.h
nop.c io_uring: fail NOP if non-zero op flags is passed in 2024-07-02 14:33:40 -04:00
nop.h
notif.c
notif.h
opdef.c io_uring: enable audit and restrict cred override for IORING_OP_FIXED_FD_INSTALL 2024-07-02 14:33:37 -04:00
opdef.h io_uring/rw: mark readv/writev as vectored in the opcode definition 2024-07-02 09:41:34 -04:00
openclose.c io_uring: enable audit and restrict cred override for IORING_OP_FIXED_FD_INSTALL 2024-07-02 14:33:37 -04:00
openclose.h io_uring/openclose: add support for IORING_OP_FIXED_FD_INSTALL 2024-07-02 14:33:35 -04:00
poll.c io_uring: fix poll_remove stalled req completion 2024-07-02 14:33:41 -04:00
poll.h io_uring/rw: ensure poll based multishot read retries appropriately 2024-07-02 14:33:37 -04:00
refs.h
register.c io_uring/register: guard compat syscall with CONFIG_COMPAT 2024-07-02 14:33:36 -04:00
register.h io_uring/register: move io_uring_register(2) related code to register.c 2024-07-02 14:33:36 -04:00
rsrc.c mm/gup: remove vmas parameter from pin_user_pages() 2024-09-05 20:35:37 -04:00
rsrc.h io_uring/rsrc: improve code generation for fixed file assignment 2024-07-02 14:33:36 -04:00
rw.c io_uring: refactor DEFER_TASKRUN multishot checks 2024-07-02 14:33:39 -04:00
rw.h io_uring/rw: add separate prep handler for fixed read/write 2024-07-02 10:07:34 -04:00
slist.h
splice.c
splice.h
sqpoll.c io_uring/sqpoll: work around a potential audit memory leak 2024-07-26 17:07:19 -04:00
sqpoll.h
statx.c
statx.h
sync.c
sync.h
tctx.c
tctx.h
timeout.c
timeout.h
uring_cmd.c io_uring/cmd: inline io_uring_cmd_get_task 2024-07-02 14:33:10 -04:00
uring_cmd.h
waitid.c io_uring/waitid: always remove waitid entry for cancel all 2024-07-02 14:33:38 -04:00
waitid.h io_uring: add IORING_OP_WAITID support 2024-07-02 09:47:34 -04:00
xattr.c
xattr.h