lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Thu, 24 Nov 2022 12:58:09 +0100 From: Juergen Gross <jgross@...e.com> To: Hou Wenlong <houwenlong.hwl@...group.com>, linux-kernel@...r.kernel.org Cc: "Srivatsa S. Bhat (VMware)" <srivatsa@...il.mit.edu>, Alexey Makhalov <amakhalov@...are.com>, VMware PV-Drivers Reviewers <pv-drivers@...are.com>, Thomas Gleixner <tglx@...utronix.de>, Ingo Molnar <mingo@...hat.com>, Borislav Petkov <bp@...en8.de>, Dave Hansen <dave.hansen@...ux.intel.com>, x86@...nel.org, "H. Peter Anvin" <hpa@...or.com>, Peter Zijlstra <peterz@...radead.org>, Josh Poimboeuf <jpoimboe@...nel.org>, Kees Cook <keescook@...omium.org>, Song Liu <song@...nel.org>, Nadav Amit <namit@...are.com>, virtualization@...ts.linux-foundation.org Subject: Re: [PATCH v2] x86/paravirt: Use relative reference for original instruction On 24.11.22 12:51, Hou Wenlong wrote: > Similar to the alternative patching, use relative reference for original > instruction rather than absolute one, which saves 8 bytes for one entry > on x86_64. And it could generate R_X86_64_PC32 relocation instead of > R_X86_64_64 relocation, which also reduces relocation metadata on > relocatable builds. And the alignment could be hard coded to be 4 now. > > Signed-off-by: Hou Wenlong <houwenlong.hwl@...group.com> Reviewed-by: Juergen Gross <jgross@...e.com> Juergen Download attachment "OpenPGP_0xB0DE9DD628BF132F.asc" of type "application/pgp-keys" (3099 bytes) Download attachment "OpenPGP_signature" of type "application/pgp-signature" (496 bytes)
Powered by blists - more mailing lists