If you specify movablecore > totalpages, required_kernelcore will end up with a big number because corepages is an unsigned integer. If so, the following nested is a waste of time. But I see your point.
-Zhihui On Wed, Apr 1, 2015 at 7:00 PM, Mel Gorman <mgor...@suse.de> wrote: > On Sat, Mar 28, 2015 at 11:36:02PM -0400, Zhihui Zhang wrote: >> If kernelcore is not set, then we are working with a very large kernelcore >> for nothing - no movable zone will be created. If kernelcore is set, >> then it is not respected at all. >> >> Signed-off-by: Zhihui Zhang <zzhs...@gmail.com> > > I'm confused. What bug is this patch fixing? What is the user-visible > impcat of the patch? -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/