Re: [PATCH v3] mm/memory: drop PROCESS_PAGES_NON_PREEMPT_BATCH

From: Lorenzo Stoakes (ARM)

Date: Wed Nov 11 2026 - 08:12:36 EST


On Wed, Nov 11, 2026 at 01:40:06PM +0100, Peter Zijlstra wrote:
> FWIW one could do:
>
> for (int i = 0; i < nr_pages; i++) {
>
> and forgo the earlier variable declaration.

I guess we all got used to the existing patterns and I for one only
recently found out (doh) that this was legal in kernel style (because I saw
it used in KVM)...

--
Cheers, Lorenzo