mm-move-vma_modify-and-helpers-to-internal-header.patch removed from -mm tree
The quilt patch titled
Subject: mm: move vma_modify() and helpers to internal header
has been removed from the -mm tree. Its filename was
mm-move-vma_modify-and-helpers-to-internal-header.patch
This patch was dropped because it was merged into the mm-stable branch of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm
------------------------------------------------------
From: Lorenzo Stoakes <[email protected]>
Subject: mm: move vma_modify() and helpers to internal header
Date: Mon, 29 Jul 2024 12:50:36 +0100
These are core VMA manipulation functions which invoke VMA splitting and merging and should not be directly accessed from outside of mm/.
---
include/linux/mm.h | 60 ------------------------------------------ mm/internal.h | 61 +++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 61 insertions(+), 60 deletions(-)
include/linux/mm.h renamed from include/linux/mm.h~mm-move-vma_modify-and-helpers-to-internal-header +0 -60
@@ -3279,66 +3279,6 @@ extern struct vm_area_struct *copy_vma(s unsigned long addr, unsigned long len, pgoff_t pgoff, bool *need_rmap_locks);extern void exit_mmap (struct mm_struct *); -struct vm_area_struct *vma_modify (struct vma_iterator *vmi, -struct vm_area_struct *prev, -struct vm_area_struct *vma, -unsigned long start,unsigned long end, -unsigned long vm_flags, -struct mempolicy *policy, -struct vm_userfaultfd_ctx uffd_ctx, -struct anon_vma_name *anon_name); - -/* We are about to modify the VMA's flags. */ -static inline struct vm_area_struct -*vma_modify_flags (struct vma_iterator *vmi, -struct vm_area_struct *prev, -struct vm_area_struct *vma, -unsigned long start,unsigned long end, -unsigned long new_flags) -{ -return vma_modify (vmi, prev, vma, start, end, new_flags, -vma_policy (vma), vma->vm_userfaultfd_ctx, -anon_vma_name (vma)); -} - -/* We are about to modify the VMA's flags and/or anon_name. */ -static inline struct vm_area_struct -*vma_modify_flags_name (struct vma_iterator *vmi, -struct vm_area_struct *prev, -struct vm_area_struct *vma, -unsigned long start, -unsigned long end, -unsigned long new_flags, -struct anon_vma_name *new_name) -{ -return vma_modify (vmi, prev, vma, start, end, new_flags, -vma_policy (vma), vma->vm_userfaultfd_ctx, new_name); -} - -/* We are about to modify the VMA's memory policy. */ -static inline struct vm_area_struct -*vma_modify_policy (struct vma_iterator *vmi, -struct vm_area_struct *prev, -struct vm_area_struct *vma, -unsigned long start,unsigned long end, -struct mempolicy *new_pol) -{ -return vma_modify (vmi, prev, vma, start, end, vma->vm_flags, - new_pol, vma->vm_userfaultfd_ctx,anon_vma_name (vma)); -} - -/* We are about to modify the VMA's flags and/or uffd context. */ -static inline struct vm_area_struct -*vma_modify_flags_uffd (struct vma_iterator *vmi, -struct vm_area_struct *prev, -struct vm_area_struct *vma, -unsigned long start,unsigned long end, -unsigned long new_flags, -struct vm_userfaultfd_ctx new_ctx) -{ -return vma_modify (vmi, prev, vma, start, end, new_flags, -vma_policy (vma), new_ctx,anon_vma_name (vma)); -} static inline int check_data_rlimit(unsigned long rlim, unsigned long new,
mm/internal.h renamed from mm/internal.h~mm-move-vma_modify-and-helpers-to-internal-header +61 -0
67 lines not on this page · raw message
_
Patches currently in -mm which might be from [email protected] are
tools-improve-vma-test-makefile.patch tools-add-vma-merge-tests.patch mm-introduce-vma_merge_struct-and-abstract-vma_mergevma_modify.patch mm-remove-duplicated-open-coded-vma-policy-check.patch mm-abstract-vma_expand-to-use-vma_merge_struct.patch mm-avoid-using-vma_merge-for-new-vmas.patch mm-make-vma_prepare-and-friends-static-and-internal-to-vmac.patch mm-introduce-commit_merge-abstracting-final-commit-of-merge.patch mm-refactor-vma_merge-into-modify-only-vma_merge_existing_range.patch mm-rework-vm_ops-close-handling-on-vma-merge.patch