函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\vmscan.c Create Date:2022-07-27 15:44:22
Last Modify:2022-05-23 13:41:30 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称: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

函数原型:void check_move_unevictable_pages(struct pagevec *pvec)

返回类型:void

参数:

类型参数名称
struct pagevec *pvec
4333  struct pglist_data * pgdat = NULL
4334  pgscanned等于0
4335  pgrescued等于0
4338 i小于nr循环
4339  page等于pages[i]
4340  pagepgdat等于page_pgdat(page)
4342  pgscanned自加
4343  如果pagepgdat不等于pgdat
4346  pgdat等于pagepgdat
4349  lruvec等于mem_cgroup_page_lruvec(page, pgdat)
4351  如果非PageLRU(page)或非PageUnevictable(page)则继续下一循环
4361  pgrescued自加
4365  如果pgdat
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 )