Re: [PATCH v5 5/6] powerpc: Chunk calls to flush_dcache_range in arch_*_memory

2019-11-07 Thread Michael Ellerman
"Alastair D'Silva" writes: > From: Alastair D'Silva > > When presented with large amounts of memory being hotplugged > (in my test case, ~890GB), the call to flush_dcache_range takes > a while (~50 seconds), triggering RCU stalls. > > This patch breaks up the call into 1GB chunks, calling > cond_

[PATCH v5 5/6] powerpc: Chunk calls to flush_dcache_range in arch_*_memory

2019-11-03 Thread Alastair D'Silva
From: Alastair D'Silva When presented with large amounts of memory being hotplugged (in my test case, ~890GB), the call to flush_dcache_range takes a while (~50 seconds), triggering RCU stalls. This patch breaks up the call into 1GB chunks, calling cond_resched() inbetween to allow the scheduler