Home
last modified time | relevance | path

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

/openbmc/linux/mm/
H A Dswap.c51 struct lru_rotate { struct
55 static DEFINE_PER_CPU(struct lru_rotate, lru_rotate) = { argument
262 local_lock_irqsave(&lru_rotate.lock, flags); in folio_rotate_reclaimable()
263 fbatch = this_cpu_ptr(&lru_rotate.fbatch); in folio_rotate_reclaimable()
265 local_unlock_irqrestore(&lru_rotate.lock, flags); in folio_rotate_reclaimable()
654 fbatch = &per_cpu(lru_rotate.fbatch, cpu); in lru_add_drain_cpu()
660 local_lock_irqsave(&lru_rotate.lock, flags); in lru_add_drain_cpu()
662 local_unlock_irqrestore(&lru_rotate.lock, flags); in lru_add_drain_cpu()
796 data_race(folio_batch_count(&per_cpu(lru_rotate.fbatch, cpu))) || in cpu_needs_drain()