Messages in this thread | | | Date | Thu, 5 Mar 2015 09:23:04 +0100 | From | Borislav Petkov <> | Subject | Re: [PATCH v2 07/15] x86/lib/copy_user_64.S: Convert to ALTERNATIVE_2 |
| |
On Thu, Mar 05, 2015 at 01:34:17AM +0100, Ingo Molnar wrote: > So I'd not patch in the large _orig variant, it's legacy mostly - but > the two fast variants?
Yes, so the optimal thing would be to have the kernel generate the CALL <REP_GOOD> variant when building. Those are going to be the default opcodes in vmlinux coming out of build.
Then, when booted on ERMS machines, we'll patch in CALL <ERMS version> and as a last resort fallback, the CALL to the legacy variant on really old boxes.
/me puts it on the TODO.
-- Regards/Gruss, Boris.
ECO tip #101: Trim your mails when you reply. --
| |