[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20181120192935.GK2527@zn.tnic>
Date: Tue, 20 Nov 2018 20:29:35 +0100
From: Borislav Petkov <bp@...en8.de>
To: lijiang <lijiang@...hat.com>
Cc: Dave Young <dyoung@...hat.com>, Bjorn Helgaas <helgaas@...nel.org>,
linux-kernel@...r.kernel.org, kexec@...ts.infradead.org,
x86@...nel.org, tglx@...utronix.de, mingo@...hat.com,
akpm@...ux-foundation.org, bhe@...hat.com
Subject: Re: [PATCH 1/2 v6] x86/kexec_file: add e820 entry in case e820 type
string matches to io resource name
On Tue, Nov 20, 2018 at 11:37:26AM +0800, lijiang wrote:
> BTW: Boris has mentioned the solution which adds the new descriptor 'IORES_DESC_RESERVED'.
>
> Which solution do you prefer? Add the new I/O resource descriptor 'IORES_DESC_RESERVED'(patch v7)
> or exactly comparing a string(patch v6)?
The new I/O descriptor of course - the string comparison thing is
fragile and error-prone.
--
Regards/Gruss,
Boris.
Good mailing practices for 400: avoid top-posting and trim the reply.
Powered by blists - more mailing lists