Re: [PATCH 06/11] mm/page_alloc: Reduce duration that IRQs are disabled for VM counters

2021-04-14 Thread Vlastimil Babka
On 4/14/21 3:39 PM, Mel Gorman wrote: > IRQs are left disabled for the zone and node VM event counters. This is > unnecessary as the affected counters are allowed to race for preemmption > and IRQs. > > This patch reduces the scope of IRQs being disabled > via local_[lock|unlock]_irq on

[PATCH 06/11] mm/page_alloc: Reduce duration that IRQs are disabled for VM counters

2021-04-14 Thread Mel Gorman
IRQs are left disabled for the zone and node VM event counters. This is unnecessary as the affected counters are allowed to race for preemmption and IRQs. This patch reduces the scope of IRQs being disabled via local_[lock|unlock]_irq on !PREEMPT_RT kernels. One __mod_zone_freepage_state is still