Re: [PATCH] powerpc/mm: Add cond_resched() while removing hpte mappings

2021-04-05 Thread Vaibhav Jain
Hi Mpe, Thanks for looking into this patch. Michael Ellerman writes: > Vaibhav Jain writes: >> While removing large number of mappings from hash page tables for >> large memory systems as soft-lockup is reported because of the time >> spent inside htap_remove_mapping() like one below: >> >> w

Re: [PATCH] powerpc/mm: Add cond_resched() while removing hpte mappings

2021-03-10 Thread Michael Ellerman
Vaibhav Jain writes: > While removing large number of mappings from hash page tables for > large memory systems as soft-lockup is reported because of the time > spent inside htap_remove_mapping() like one below: > > watchdog: BUG: soft lockup - CPU#8 stuck for 23s! > > NIP plpar_hcall+0x38/0x5

Re: [PATCH] powerpc/mm: Add cond_resched() while removing hpte mappings

2021-03-10 Thread Christophe Leroy
Le 10/03/2021 à 08:59, Vaibhav Jain a écrit : While removing large number of mappings from hash page tables for large memory systems as soft-lockup is reported because of the time spent inside htap_remove_mapping() like one below: watchdog: BUG: soft lockup - CPU#8 stuck for 23s! NIP p

[PATCH] powerpc/mm: Add cond_resched() while removing hpte mappings

2021-03-10 Thread Vaibhav Jain
While removing large number of mappings from hash page tables for large memory systems as soft-lockup is reported because of the time spent inside htap_remove_mapping() like one below: watchdog: BUG: soft lockup - CPU#8 stuck for 23s! NIP plpar_hcall+0x38/0x58 LR pSeries_lpar_hpte_invalidate