Commit fae7bfcc authored by Anthony Steinhauser's avatar Anthony Steinhauser Committed by Borislav Petkov

x86/nospec: Remove unused RSB_FILL_LOOPS

It was never really used, see

  117cc7a9 ("x86/retpoline: Fill return stack buffer on vmexit")

  [ bp: Massage. ]
Signed-off-by: default avatarAnthony Steinhauser <asteinhauser@google.com>
Signed-off-by: default avatarBorislav Petkov <bp@suse.de>
Cc: "H. Peter Anvin" <hpa@zytor.com>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: x86-ml <x86@kernel.org>
Link: https://lkml.kernel.org/r/20191226204512.24524-1-asteinhauser@google.com
parent bff47c23
......@@ -37,7 +37,6 @@
*/
#define RSB_CLEAR_LOOPS 32 /* To forcibly overwrite all entries */
#define RSB_FILL_LOOPS 16 /* To avoid underflow */
/*
* Google experimented with loop-unrolling and this turned out to be
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment