Re: [PATCH] fs/proc/kcore.c: remove check of list iterator against head past the loop body
From: Andrew Morton
Date: Mon Apr 04 2022 - 19:13:14 EST
On Fri, 1 Apr 2022 09:19:57 +0200 Jakob Koschel <jakobkoschel@xxxxxxxxx> wrote:
> > Speaking of limiting scope...
>
> Fair point :-)
>
> I see you have applied this already to the -mm tree. Shall I still move the iterator?
> The hope is to remove the 'iter' variable altogether when there are no uses after
> the loop anymore.
I don't really understand the question.
My plan is to merge your patch with my fixlet immediately prior to
sending upstream.