mm-move-mmap_init_lock-out-of-the-header-file.patch removed from -mm tree
The quilt patch titled
Subject: mm: move mmap_init_lock() out of the header file
has been removed from the -mm tree. Its filename was
mm-move-mmap_init_lock-out-of-the-header-file.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: Suren Baghdasaryan <[email protected]>
Subject: mm: move mmap_init_lock() out of the header file
Date: Thu, 13 Feb 2025 14:46:45 -0800
mmap_init_lock() is used only from mm_init() in fork.c, therefore it does not have to reside in the header file. This move lets us avoid including additional headers in mmap_lock.h later, when mmap_init_lock() needs to initialize rcuwait object.
---
include/linux/mmap_lock.h | 6 ------ kernel/fork.c | 6 ++++++ 2 files changed, 6 insertions(+), 6 deletions(-)
include/linux/mmap_lock.h renamed from include/linux/mmap_lock.h~mm-move-mmap_init_lock-out-of-the-header-file +0 -6
@@ -122,12 +122,6 @@ static inline bool mmap_lock_speculate_r#endif /* CONFIG_PER_VMA_LOCK */ -static inline void mmap_init_lock (struct mm_struct *mm) -{ -init_rwsem (&mm->mmap_lock); -mm_lock_seqcount_init (mm); -} -static inline void mmap_write_lock (struct mm_struct *mm) {__mmap_lock_trace_start_locking (mm, true);
kernel/fork.c renamed from kernel/fork.c~mm-move-mmap_init_lock-out-of-the-header-file +6 -0
@@ -1230,6 +1230,12 @@ static void mm_init_uprobes_state(struct#endif } +static void mmap_init_lock (struct mm_struct *mm) +{ +init_rwsem (&mm->mmap_lock); +mm_lock_seqcount_init (mm); +} +static struct mm_struct *mm_init (struct mm_struct *mm,struct task_struct *p,struct user_namespace *user_ns) {
_
Patches currently in -mm which might be from [email protected] are