Quantcast
Channel: lkml.org : Pallipadi, Venkatesh
Viewing all articles
Browse latest Browse all 864

[PATCH 1/5] x86: Move fork_idle from wq and idle caching to common ...

$
0
0
Venkatesh Pallipadi writes: (Summary) 48 +++++++++++++++++++++++++++++ 3 files changed, 59 insertions(+), 64 deletions(-)
diff --git a/arch/x86/kernel/smpboot.c b/arch/x86/kernel/smpboot.c
index 66d250c..cc714b1 100644
--- a/arch/x86/kernel/smpboot.c
+++ b/arch/x86/kernel/smpboot.c
@@ -75,20 +75,8 @@
 /* State of each CPU */
 DEFINE_PER_CPU(int, cpu_state) = { 0 };
- struct create_idle c_idle = {
-  .cpu = cpu,
-  .done = COMPLETION_INITIALIZER_ONSTACK(c_idle.done),
- };
-  */
- if (c_idle.idle) {
-  c_idle.idle->thread.sp = (unsigned long) (((struct pt_regs *)
-   (THREAD_SIZE +  task_stack_page(c_idle.idle))) - 1);

Viewing all articles
Browse latest Browse all 864

Trending Articles