[Devel] [PATCH RHEL COMMIT] kernel: Export tasklist_lock
Konstantin Khorenko
khorenko at virtuozzo.com
Fri Sep 24 15:48:43 MSK 2021
The commit is pushed to "branch-rh9-5.14.vz9.1.x-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git
after ark-5.14
------>
commit 9289dbd7b51a1d8687f740ef42f7451bce356e57
Author: Kirill Tkhai <ktkhai at virtuozzo.com>
Date: Fri Sep 24 15:48:43 2021 +0300
kernel: Export tasklist_lock
Needed for our modules (vzstat).
FIXME: maybe reduce to EXPORT_SYMBOL_GPL().
Signed-off-by: Kirill Tkhai <ktkhai at virtuozzo.com>
(cherry picked from vz8 commit 88e9f6757a92d2687aae51cc63ab8d6c4e1d60cf)
Signed-off-by: Andrey Zhadchenko <andrey.zhadchenko at virtuozzo.com>
---
kernel/fork.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/kernel/fork.c b/kernel/fork.c
index 578635d75959..fa42bf77ddef 100644
--- a/kernel/fork.c
+++ b/kernel/fork.c
@@ -139,6 +139,7 @@ static const char * const resident_page_types[] = {
DEFINE_PER_CPU(unsigned long, process_counts) = 0;
__cacheline_aligned DEFINE_RWLOCK(tasklist_lock); /* outer */
+EXPORT_SYMBOL(tasklist_lock);
#ifdef CONFIG_PROVE_RCU
int lockdep_tasklist_lock_is_held(void)
More information about the Devel
mailing list