projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e0fd83a
)
x86/mm: Initialize text poking earlier
author
Peter Zijlstra
<peterz@infradead.org>
Tue, 25 Oct 2022 19:38:25 +0000
(21:38 +0200)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Tue, 8 Aug 2023 18:03:49 +0000
(20:03 +0200)
commit
5b93a83649c7cba3a15eb7e8959b250841acb1b1
upstream.
Move poking_init() up a bunch; specifically move it right after
mm_init() which is right before ftrace_init().
This will allow simplifying ftrace text poking which currently has
a bunch of exceptions for early boot.
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link:
https://lkml.kernel.org/r/20221025201057.881703081@infradead.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
init/main.c
patch
|
blob
|
history
diff --git
a/init/main.c
b/init/main.c
index
20e2d1d
..
fe37835
100644
(file)
--- a/
init/main.c
+++ b/
init/main.c
@@
-992,7
+992,7
@@
asmlinkage __visible void __init __no_sanitize_address start_kernel(void)
sort_main_extable();
trap_init();
mm_init();
-
+ poking_init();
ftrace_init();
/* trace_printk can be enabled here */
@@
-1126,8
+1126,6
@@
asmlinkage __visible void __init __no_sanitize_address start_kernel(void)
taskstats_init_early();
delayacct_init();
- poking_init();
-
acpi_subsystem_init();
arch_post_acpi_subsys_init();
kcsan_init();