[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <7e48a0ca808c9ec0520fe7769a4e44a86fbcedb6.camel@intel.com>
Date: Tue, 1 Apr 2025 09:48:39 +0000
From: "Huang, Kai" <kai.huang@...el.com>
To: "kexec@...ts.infradead.org" <kexec@...ts.infradead.org>,
"dwmw2@...radead.org" <dwmw2@...radead.org>
CC: "dyoung@...hat.com" <dyoung@...hat.com>, "bsz@...zon.de" <bsz@...zon.de>,
"x86@...nel.org" <x86@...nel.org>, "bp@...en8.de" <bp@...en8.de>,
"peterz@...radead.org" <peterz@...radead.org>, "hpa@...or.com"
<hpa@...or.com>, "mingo@...hat.com" <mingo@...hat.com>, "tglx@...utronix.de"
<tglx@...utronix.de>, "kirill.shutemov@...ux.intel.com"
<kirill.shutemov@...ux.intel.com>, "linux-kernel@...r.kernel.org"
<linux-kernel@...r.kernel.org>, "horms@...nel.org" <horms@...nel.org>,
"dwmw@...zon.co.uk" <dwmw@...zon.co.uk>, "dave.hansen@...ux.intel.com"
<dave.hansen@...ux.intel.com>, "jpoimboe@...nel.org" <jpoimboe@...nel.org>,
"nik.borisov@...e.com" <nik.borisov@...e.com>
Subject: Re: [PATCH v9 3/4] x86/kexec: Invalidate GDT/IDT from
relocate_kernel() instead of earlier
On Wed, 2025-03-26 at 14:16 +0000, David Woodhouse wrote:
> From: David Woodhouse <dwmw@...zon.co.uk>
>
> Reduce the window during which exceptions are unhandled, by leaving the
> GDT/IDT in place all the way into the relocate_kernel() function, until
> the moment that %cr3 gets replaced.
Seems the difference is only couple of instructions. Anyway ...
>
> Signed-off-by: David Woodhouse <dwmw@...zon.co.uk>
Reviewed-by: Kai Huang <kai.huang@...el.com>
Powered by blists - more mailing lists