lkml.org 
[lkml]   [2021]   [Jun]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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

\
 
 \ /
  Last update: 2021-06-29 16:13    [W:0.059 / U:0.208 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site