Re: [PATCH] mm/page_alloc: use batch page clearing in kernel_init_pages()

From: Michal Hocko

Date: Thu Apr 09 2026 - 08:03:20 EST


On Thu 09-04-26 11:00:33, David Hildenbrand wrote:
[...]
> I mean, it would already happen today, because there is no
> cond_resched(). So nothing to worry about I guess.

Please also note that with moving away from PREEMPT_NONE/VOLUNTARY there
is no future for cond_resched anymore. We should be starting looking
into reducing[*] them rather than adding more.

---
[*] not all architectures are PREEMPT_LAZY compatible as of now so
dropping cond_resched will need to be done carefully.

--
Michal Hocko
SUSE Labs