Re: [PATCH] powerpc/book3s64/hash: Add cond_resched to avoid soft lockup warning

2019-11-14 Thread Michael Ellerman
On Tue, 2019-10-01 at 08:46:56 UTC, "Aneesh Kumar K.V" wrote: > With large memory (8TB and more) hotplug, we can get soft lockup warnings > as below. These were caused by a long loop without any explicit cond_resched > which is a problem for !PREEMPT kernels. > > Avoid the using cond_resched() whi

[PATCH] powerpc/book3s64/hash: Add cond_resched to avoid soft lockup warning

2019-10-01 Thread Aneesh Kumar K.V
With large memory (8TB and more) hotplug, we can get soft lockup warnings as below. These were caused by a long loop without any explicit cond_resched which is a problem for !PREEMPT kernels. Avoid the using cond_resched() while inserting hash page table entries. We already do similar cond_resched