Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\swap.c Create Date:2022-07-28 14:13:42
Last Modify:2022-05-23 13:40:24 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:Add the passed pages to the LRU, then drop the caller's refcount* on them. Reinitialises the caller's pagevec.

Proto:void __pagevec_lru_add(struct pagevec *pvec)

Type:void

Parameter:

TypeParameterName
struct pagevec *pvec
985  pagevec_lru_move_fn(pvec, __pagevec_lru_add_fn, NULL)
Caller
NameDescribe
__lru_cache_add
lru_add_drain_cpuDrain pages out of the cpu's pagevecs.* Either "cpu" is the current CPU, and preemption has already been* disabled; or "cpu" is being hot-unplugged, and is already dead.
__putback_lru_fastPutback multiple evictable pages to the LRU* Batched putback of evictable pages that bypasses the per-cpu pvec. Some of* the pages might have meanwhile become unevictable but that is OK.