[REPOST PATCH] kexec: Remove the unnecessary conditional judgement to simplify the code logic

Andrew Morton akpm at linux-foundation.org
Thu Aug 13 13:43:06 PDT 2015


On Thu, 13 Aug 2015 09:55:25 +0900 Simon Horman <horms at verge.net.au> wrote:

> On Tue, Jul 28, 2015 at 12:46:42PM +0800, Minfei Huang wrote:
> > Transforming PFN(Page Frame Number) to struct page is never failure, so
> > we can simplify the code logic to do the image->control_page assignment
> > directly in the loop, and remove the unnecessary conditional judgement.
> > 
> > Signed-off-by: Minfei Huang <mnfhuang at gmail.com>
> > Acked-by: Dave Young <dyoung at redhat.com>
> > Acked-by: Vivek Goyal <vgoyal at redhat.com>
> 
> Andrew, could you consider picking this up.
> It seems to have been sufficiently reviewed, acked, etc...

I grabbed this one of July 28. 
http://ozlabs.org/~akpm/mmotm/broken-out/kexec-remove-the-unnecessary-conditional-judgement-to-simplify-the-code-logic.patch



More information about the kexec mailing list