Messages in this thread |  | | From | Ard Biesheuvel <> | | Date | Mon, 7 Apr 2025 19:21:17 +0200 | | Subject | Re: [PATCH v2 3/3] x86/boot: Implement early memory acceptance for SEV-SNP |
| |
On Mon, 7 Apr 2025 at 18:44, Ingo Molnar <mingo@kernel.org> wrote: > > > * Kirill A. Shutemov <kirill.shutemov@linux.intel.com> wrote: > > > On Fri, Apr 04, 2025 at 08:07:03AM -0700, Dionna Amalie Glaze wrote: > > > If the GHCB is available, we should always prefer it. > > > > I believe we should consider the cost of code duplication in this > > situation. > > > > If the non-early version is only used in the kexec path, it will not be > > tested as frequently and could be more easily broken. I think it would be > > acceptable for kexec to be slightly slower if it results in more > > maintainable code. > > Absolutely so. >
It would be nice if someone could quantify 'slightly slower' - I am leaning to the same conclusion but I have no clue what the actual performance impact is.
|  |