Re: [PATCH v4 3/3] mm: call cond_resched() from deferred_init_memmap()
From: David Hildenbrand
Date: Fri Apr 03 2020 - 11:18:13 EST
On 03.04.20 16:09, Pavel Tatashin wrote:
> Now that deferred pages are initialized with interrupts enabled we can
> replace touch_nmi_watchdog() with cond_resched(), as it was before
> 3a2d7fa8a3d5.
>
> For now, we cannot do the same in deferred_grow_zone() as it is still
> initializes pages with interrupts disabled.
>
> This change fixes RCU problem described:
> linux-mm/20200401104156.11564-2-david@xxxxxxxxxx
BTW,
https://lkml.kernel.org/r/20200401104156.11564-2-david@xxxxxxxxxx
Would be better.
--
Thanks,
David / dhildenb