aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-inline.h
diff options
context:
space:
mode:
authorLuck, Tony <[email protected]>2019-07-30 21:39:57 -0700
committerDoug Ledford <[email protected]>2019-08-01 11:34:11 -0400
commit61f259821dd3306e49b7d42a3f90fb5a4ff3351b (patch)
treea67d72f9d2a8e6ddf6486a2b784c62673f551992 /lib/mpi/mpi-inline.h
parent708637e65abd487ebb75fb55401c36a466c3135b (diff)
IB/core: Add mitigation for Spectre V1
Some processors may mispredict an array bounds check and speculatively access memory that they should not. With a user supplied array index we like to play things safe by masking the value with the array size before it is used as an index. Signed-off-by: Tony Luck <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Doug Ledford <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-inline.h')
0 files changed, 0 insertions, 0 deletions