Home
last modified time | relevance | path

Searched refs:mlock_fbatch (Results 1 – 1 of 1) sorted by relevance

/linux-6.12.1/mm/
Dmlock.c31 struct mlock_fbatch { struct
36 static DEFINE_PER_CPU(struct mlock_fbatch, mlock_fbatch) = { argument
216 local_lock(&mlock_fbatch.lock); in mlock_drain_local()
217 fbatch = this_cpu_ptr(&mlock_fbatch.fbatch); in mlock_drain_local()
220 local_unlock(&mlock_fbatch.lock); in mlock_drain_local()
228 fbatch = &per_cpu(mlock_fbatch.fbatch, cpu); in mlock_drain_remote()
235 return folio_batch_count(&per_cpu(mlock_fbatch.fbatch, cpu)); in need_mlock_drain()
246 local_lock(&mlock_fbatch.lock); in mlock_folio()
247 fbatch = this_cpu_ptr(&mlock_fbatch.fbatch); in mlock_folio()
260 local_unlock(&mlock_fbatch.lock); in mlock_folio()
[all …]