diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2010-12-16 13:25:18 (GMT) |
---|---|---|
committer | Scott Wood <scottwood@freescale.com> | 2014-05-14 18:38:35 (GMT) |
commit | f02c356b272e50dda0f8cd58e5601f198cfd5625 (patch) | |
tree | 90ae0fc01148cc71276456359d37ac7b543bf9a7 /kernel/extable.c | |
parent | 9c890efdb2960fae097435d87eec8737afd6a7bf (diff) | |
download | linux-fsl-qoriq-f02c356b272e50dda0f8cd58e5601f198cfd5625.tar.xz |
x86: stackprotector: Avoid random pool on rt
CPU bringup calls into the random pool to initialize the stack
canary. During boot that works nicely even on RT as the might sleep
checks are disabled. During CPU hotplug the might sleep checks
trigger. Making the locks in random raw is a major PITA, so avoid the
call on RT is the only sensible solution. This is basically the same
randomness which we get during boot where the random pool has no
entropy and we rely on the TSC randomnness.
Reported-by: Carsten Emde <carsten.emde@osadl.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'kernel/extable.c')
0 files changed, 0 insertions, 0 deletions