diff options
author | 2020-06-17 18:56:24 -0400 | |
---|---|---|
committer | 2020-06-18 13:09:17 +0200 | |
commit | c9a1ff316bc9b1d1806a4366d0aef6e18833ba52 (patch) | |
tree | f2dae0b0a21105a645d90444b3effddc06504c94 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | x86/speculation: Merge one test in spectre_v2_user_select_mitigation() (diff) | |
download | wireguard-linux-c9a1ff316bc9b1d1806a4366d0aef6e18833ba52.tar.xz wireguard-linux-c9a1ff316bc9b1d1806a4366d0aef6e18833ba52.zip |
x86/stackprotector: Pre-initialize canary for secondary CPUs
The idle tasks created for each secondary CPU already have a random stack
canary generated by fork(). Copy the canary to the percpu variable before
starting the secondary CPU which removes the need to call
boot_init_stack_canary().
Signed-off-by: Brian Gerst <brgerst@gmail.com>
Signed-off-by: Borislav Petkov <bp@suse.de>
Link: https://lkml.kernel.org/r/20200617225624.799335-1-brgerst@gmail.com
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions