[RFC PATCH 1/8] arm64: add CPU field to struct thread_info

Linus Torvalds torvalds at linux-foundation.org
Tue Sep 14 08:41:13 PDT 2021


On Tue, Sep 14, 2021 at 5:10 AM Ard Biesheuvel <ardb at kernel.org> wrote:
>
> The CPU field will be moved back into thread_info even when
> THREAD_INFO_IN_TASK is enabled, so add it back to arm64's definition of
> struct thread_info.

The series looks sane to me, but it strikes me that it's inconsistent
- here for arm64, you make it unconditional, but for the other
architectures you end up putting it inside a #ifdef CONFIG_SMP.

Was there some reason for this odd behavior?

           Linus



More information about the linux-riscv mailing list