lkml.org 
[lkml]   [2018]   [Jan]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH] x86/retpoline: Fill return stack buffer on vmexit
From
On January 11, 2018 9:42:38 AM GMT+01:00, Peter Zijlstra <peterz@infradead.org> wrote:
>Or we teach the alternative thing to patch in a jmp to end instead of
>NOP padding the entire thing as soon as the jmp (3 bytes) fits ?

Or, even better: use alternative_call() to call functions instead of patching gazillion bytes.

--
Sent from a small device: formatting sux and brevity is inevitable.

\
 
 \ /
  Last update: 2018-01-14 23:22    [W:0.056 / U:0.096 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site