Function report |
Source Code:mm\swap.c |
Create Date:2022-07-28 14:13:07 |
Last Modify:2022-05-23 13:40:24 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:pagevec_lru_move_fn
Proto:static void pagevec_lru_move_fn(struct pagevec *pvec, void (*move_fn)(struct page *page, struct lruvec *lruvec, void *arg), void *arg)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct pagevec * | pvec | |
void (* | move_fn | |
void * | arg |
195 | struct pglist_data * pgdat = NULL |
197 | flags = 0 |
199 | When i < pagevec_count(pvec) cycle |
201 | pagepgdat = page_pgdat(page) |
204 | If pgdat Then spin_unlock_irqrestore( & Write-intensive fields used by page reclaim , flags) |
210 | lruvec = mem_cgroup_page_lruvec(page, pgdat) |
213 | If pgdat Then spin_unlock_irqrestore( & Write-intensive fields used by page reclaim , flags) |
216 | pagevec_reinit(pvec) |
Name | Describe |
---|---|
pagevec_move_tail | pagevec_move_tail() must be called with IRQ disabled.* Otherwise this may cause nasty races. |
lru_add_drain_cpu | Drain 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. |
deactivate_file_page | deactivate_file_page - forcefully deactivate a file page*@page: page to deactivate* This function hints the VM that @page is a good reclaim candidate,* for example if its invalidation fails due to the page being dirty* or under writeback. |
deactivate_page | deactivate_page - deactivate a page*@page: page to deactivate* deactivate_page() moves @page to the inactive list if @page was on the active* list and was not an unevictable page. This is done to accelerate the reclaim* of @page. |
mark_page_lazyfree | mark_page_lazyfree - make an anon page lazyfree*@page: page to deactivate* mark_page_lazyfree() moves @page to the inactive file list.* This is done to accelerate the reclaim of @page. |
__pagevec_lru_add | Add the passed pages to the LRU, then drop the caller's refcount* on them. Reinitialises the caller's pagevec. |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |