summaryrefslogtreecommitdiffstats
path: root/arch/sparc/kernel/traps_64.c
diff options
context:
space:
mode:
authorLiam R. Howlett2017-01-17 16:59:02 +0100
committerDavid S. Miller2017-01-30 23:27:53 +0100
commit7a7dc961a28b965a0d0303c2e989df17b411708b (patch)
tree6d18264e4ff905ecea9eeb23b83b731b1308a5a1 /arch/sparc/kernel/traps_64.c
parentsparc: Fixed typo in sstate.c. Replaced panicing with panicking (diff)
downloadkernel-qcow2-linux-7a7dc961a28b965a0d0303c2e989df17b411708b.tar.gz
kernel-qcow2-linux-7a7dc961a28b965a0d0303c2e989df17b411708b.tar.xz
kernel-qcow2-linux-7a7dc961a28b965a0d0303c2e989df17b411708b.zip
sparc64: Zero pages on allocation for mondo and error queues.
Error queues use a non-zero first word to detect if the queues are full. Using pages that have not been zeroed may result in false positive overflow events. These queues are set up once during boot so zeroing all mondo and error queue pages is safe. Note that the false positive overflow does not always occur because the page allocation for these queues is so early in the boot cycle that higher number CPUs get fresh pages. It is only when traps are serviced with lower number CPUs who were given already used pages that this issue is exposed. Signed-off-by: Liam R. Howlett <Liam.Howlett@Oracle.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc/kernel/traps_64.c')
0 files changed, 0 insertions, 0 deletions