Re: [PATCH 8/8] mm/migrate.c: use break instead of goto out_flush

From: Wei Yang
Date: Mon Jan 20 2020 - 20:22:57 EST


On Mon, Jan 20, 2020 at 11:03:28AM +0100, Michal Hocko wrote:
>On Sun 19-01-20 11:06:36, Wei Yang wrote:
>> Label out_flush is just outside the loop, so break the loop is enough.
>
>I find the explicit label easier to follow than breaking out of the
>loop. Especially when there is another break out of the loop with a
>different label.
>
>While the patch is correct I find the resulting code worse readable.
>

ok, as you wish.


--
Wei Yang
Help you, Help me