Home
last modified time | relevance | path

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

/mm/
Dpage_pinner.c54 static struct longterm_pinner acf_pinner = { variable
55 .lock = __SPIN_LOCK_UNLOCKED(acf_pinner.lock),
354 spin_lock_irqsave(&acf_pinner.lock, flags); in __page_pinner_migration_failed()
355 idx = acf_pinner.index++; in __page_pinner_migration_failed()
356 acf_pinner.index %= LONGTERM_PIN_BUCKETS; in __page_pinner_migration_failed()
357 acf_pinner.pinner[idx] = record; in __page_pinner_migration_failed()
358 spin_unlock_irqrestore(&acf_pinner.lock, flags); in __page_pinner_migration_failed()
436 idx = (acf_pinner.index - 1 - i + LONGTERM_PIN_BUCKETS) % in read_alloc_contig_failed()
439 spin_lock_irqsave(&acf_pinner.lock, flags); in read_alloc_contig_failed()
440 record = acf_pinner.pinner[idx]; in read_alloc_contig_failed()
[all …]