Messages in this thread | | | Date | Tue, 29 Jun 2021 16:11:59 +0200 | From | Michal Hocko <> | Subject | Re: [PATCH] mm: vmalloc: add cond_resched() in __vunmap() |
| |
On Mon 28-06-21 18:40:02, Uladzislau Rezki wrote: > Also another option can be: > > if a pcp list is fully consumed, so a refilling is required to proceed with array > populating, leave atomic section(enable irq), do a breath by invoking cond_resched()?
I do not know. I would rather not medle with the pcp batches. It is a hot path and caller can decide the fallback mechanism. -- Michal Hocko SUSE Labs
| |