Re: [PATCH] fs/proc/kcore.c: remove check of list iterator against head past the loop body
From: Jakob Koschel
Date: Tue Apr 05 2022 - 08:19:45 EST
> On 5. Apr 2022, at 00:55, Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> wrote:
>
> 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.
Basically I was asking if I should send a v2 with the change you suggested.
>
> My plan is to merge your patch with my fixlet immediately prior to
> sending upstream.
ok, great. Even better, so ignore my question.
Thanks,
Jakob