mm/gup: remove task_struct pointer for all gup code
authorPeter Xu <peterx@redhat.com>
Wed, 12 Aug 2020 01:39:01 +0000 (18:39 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 12 Aug 2020 17:58:04 +0000 (10:58 -0700)
commit64019a2e467a288a16b65ab55ddcbf58c1b00187
tree6c4272bf0188188b63023858edf85786a8f54817
parenta2beb5f1efede6924a4258462a5660572e6ca864
mm/gup: remove task_struct pointer for all gup code

After the cleanup of page fault accounting, gup does not need to pass
task_struct around any more.  Remove that parameter in the whole gup
stack.

Signed-off-by: Peter Xu <peterx@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Reviewed-by: John Hubbard <jhubbard@nvidia.com>
Link: http://lkml.kernel.org/r/20200707225021.200906-26-peterx@redhat.com
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
18 files changed:
arch/arc/kernel/process.c
arch/s390/kvm/interrupt.c
arch/s390/kvm/kvm-s390.c
arch/s390/kvm/priv.c
arch/s390/mm/gmap.c
drivers/gpu/drm/i915/gem/i915_gem_userptr.c
drivers/infiniband/core/umem_odp.c
drivers/vfio/vfio_iommu_type1.c
fs/exec.c
include/linux/mm.h
kernel/events/uprobes.c
kernel/futex.c
mm/gup.c
mm/memory.c
mm/process_vm_access.c
security/tomoyo/domain.c
virt/kvm/async_pf.c
virt/kvm/kvm_main.c