Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\vmscan.c Create Date:2022-07-28 14:20:25
Last Modify:2022-05-23 13:41:30 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:heck_move_unevictable_pages - check pages for evictability and move to* appropriate zone lru list*@pvec: pagevec with lru pages to check* Checks pages for evictability, if an evictable page is in the unevictable

Proto:void check_move_unevictable_pages(struct pagevec *pvec)

Type:void

Parameter:

TypeParameterName
struct pagevec *pvec
4333  struct pglist_data * pgdat = NULL
4334  pgscanned = 0
4335  pgrescued = 0
4338  When i < nr cycle
4339  page = pages[i]
4340  pagepgdat = page_pgdat(page)
4342  pgscanned++
4343  If pagepgdat != pgdat Then
4346  pgdat = pagepgdat
4349  lruvec = mem_cgroup_page_lruvec(page, pgdat)
4351  If Not PageLRU(page) || Not PageUnevictable(page) Then Continue
4361  pgrescued++
4365  If pgdat Then
4366  __count_vm_events( rescued from noreclaim list , pgrescued)
4367  __count_vm_events( scanned for reclaimability , pgscanned)
4368  spin_unlock_irq( & Write-intensive fields used by page reclaim )