Re: [PATCHv7 11/14] x86: Disable kexec if system has unaccepted memory

From: Kirill A. Shutemov
Date: Tue Jun 28 2022 - 20:59:21 EST


On Tue, Jun 28, 2022 at 05:10:56PM -0700, Dave Hansen wrote:
> On 6/28/22 16:51, Kirill A. Shutemov wrote:
> > On Fri, Jun 24, 2022 at 05:00:05AM +0300, Kirill A. Shutemov wrote:
> >>> If there is some deep and fundamental why this can not be supported
> >>> then it probably makes sense to put some code in the arch_kexec_load
> >>> hook that verifies that deep and fundamental reason is present.
> ...
> > + /*
> > + * TODO: Information on memory acceptance status has to be communicated
> > + * between kernel.
> > + */
>
> So, the deep and fundamental reason is... drum roll... you haven't
> gotten around to implementing bitmap passing yet?!?!? I have the
> feeling that wasn't what Eric was looking for.

The deep fundamental reason is that everything cannot be implemented and
upstreamed at once.

--
Kirill A. Shutemov