Re: [PATCH v4 2/5] kexec: do not special-case the -s option

2018-03-16 Thread Simon Horman
On Fri, Mar 16, 2018 at 12:38:13PM +0100, Michal Suchánek wrote: > On Fri, 16 Mar 2018 12:20:25 +0100 > Simon Horman wrote: > > > On Thu, Mar 15, 2018 at 12:13:18PM +0100, Michal Suchánek wrote: > > > On Thu, 15 Mar 2018 11:38:30 +0100 > > > Simon Horman wrote: > > > > > > > > > > > > >

Re: [PATCH v4 2/5] kexec: do not special-case the -s option

2018-03-16 Thread Michal Suchánek
On Fri, 16 Mar 2018 12:20:25 +0100 Simon Horman wrote: > On Thu, Mar 15, 2018 at 12:13:18PM +0100, Michal Suchánek wrote: > > On Thu, 15 Mar 2018 11:38:30 +0100 > > Simon Horman wrote: > > > > > > > > > if (do_load && (kexec_flags & KEXEC_ON_CRASH) && > > > !is_crashkernel

Re: [PATCH v4 2/5] kexec: do not special-case the -s option

2018-03-16 Thread Simon Horman
On Thu, Mar 15, 2018 at 12:13:18PM +0100, Michal Suchánek wrote: > On Thu, 15 Mar 2018 11:38:30 +0100 > Simon Horman wrote: > > > On Tue, Mar 06, 2018 at 02:15:53PM +0100, Michal Suchanek wrote: > > > It is parsed separately to save a few CPU cycles when setting up > > > other options but it just

Re: [PATCH v4 2/5] kexec: do not special-case the -s option

2018-03-15 Thread Michal Suchánek
On Thu, 15 Mar 2018 11:38:30 +0100 Simon Horman wrote: > On Tue, Mar 06, 2018 at 02:15:53PM +0100, Michal Suchanek wrote: > > It is parsed separately to save a few CPU cycles when setting up > > other options but it just complicates the code. So fold it back and > > set up all flags both for KEXE

Re: [PATCH v4 2/5] kexec: do not special-case the -s option

2018-03-15 Thread Simon Horman
On Tue, Mar 06, 2018 at 02:15:53PM +0100, Michal Suchanek wrote: > It is parsed separately to save a few CPU cycles when setting up other > options but it just complicates the code. So fold it back and set up all > flags both for KEXEC_LOAD and KEXEC_FILE_LOAD > > Signed-off-by: Michal Suchanek >

[PATCH v4 2/5] kexec: do not special-case the -s option

2018-03-06 Thread Michal Suchanek
It is parsed separately to save a few CPU cycles when setting up other options but it just complicates the code. So fold it back and set up all flags both for KEXEC_LOAD and KEXEC_FILE_LOAD Signed-off-by: Michal Suchanek --- kexec/kexec.c | 25 - 1 file changed, 4 inserti