# Re: \[patch 12/17\] init: Invoke arch\_cpu\_finalize\_init() earlier

- From: Edgecombe, Rick P \<rick.p.edgecombe@intel.com\>
- Date: 2023-06-15 21:44:40 
- List: linux-arm-kernel
- Page: https://ratatoskr.run/linux-arm-kernel/2023/06/2235534
- Thread: https://ratatoskr.run/linux-sh/2023/06/2232411/t.md

```text
On Wed, 2023-06-14 at 01:39 +0200, Thomas Gleixner wrote:
> Fortunately none of the init calls between calibrate_delay() and
> arch_cpu_finalize_init() is relevant for the functionality of
> arch_cpu_finalize_init().
> 

Reviewed-by: Rick Edgecombe <rick.p.edgecombe@intel.com>

I did my best to find a counterpoint to this statement. The only thing
I found was that lockdep_init_task(&init_task) in fork_init() is now
called after the spin_lock() usage in set_memory_4k(). But AFAICT, that
whole lockdep_init_task() call is unneeded because the fields it sets
are already statically initialized. I mention only because I'm not 100%
sure the lockdep_init_task() call is not serving some purpose I'm
missing.
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
```
