[Devel] [PATCH RHEL7 COMMIT] ms/mm/mm_init.c: make creation of the mm_kobj happen earlier than device_initcall
Konstantin Khorenko
khorenko at virtuozzo.com
Thu Nov 5 05:36:25 PST 2015
The commit is pushed to "branch-rh7-3.10.0-229.7.2.vz7.9.x-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git
after rh7-3.10.0-229.7.2.vz7.9.6
------>
commit c1342006841ccac90a0dd409bb958b30e1795d69
Author: Vladimir Davydov <vdavydov at virtuozzo.com>
Date: Thu Nov 5 17:36:25 2015 +0400
ms/mm/mm_init.c: make creation of the mm_kobj happen earlier than device_initcall
https://jira.sw.ru/browse/PSBM-32460
This patch backports the following mainstream commits:
da29bd36224b mm/mm_init.c: make creation of the mm_kobj happen earlier than device_initcall
e82cb95d626a mm: bring back /sys/kernel/mm
Needed for page_idle_init(), which is introduced later in the series, to
work.
Signed-off-by: Vladimir Davydov <vdavydov at virtuozzo.com>
---
mm/mm_init.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/mm/mm_init.c b/mm/mm_init.c
index 12dd27a..7300493 100644
--- a/mm/mm_init.c
+++ b/mm/mm_init.c
@@ -155,5 +155,4 @@ static int __init mm_sysfs_init(void)
return 0;
}
-
-__initcall(mm_sysfs_init);
+postcore_initcall(mm_sysfs_init);
More information about the Devel
mailing list