[PATCH v5 3/5] ARM: smp: Free up the TLS register while running in the kernel
Linus Walleij
linus.walleij at linaro.org
Tue Sep 21 08:20:43 PDT 2021
On Sat, Sep 18, 2021 at 10:44 AM Ard Biesheuvel <ardb at kernel.org> wrote:
> To prepare for a subsequent patch that stores the current task pointer
> in the user space TLS register while running in the kernel, modify the
> set_tls and switch_tls routines not to touch the register directly, and
> update the return to user space code to load the correct value.
>
> Signed-off-by: Ard Biesheuvel <ardb at kernel.org>
Reviewed-by: Linus Walleij <linus.walleij at linaro.org>
Yours,
Linus Walleij
More information about the linux-arm-kernel
mailing list