函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\swap.c Create Date:2022-07-27 15:36:54
Last Modify:2022-05-23 13:40:24 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:Writeback is about to end against a page which has been marked for immediate* reclaim. If it still appears to be reclaimable, move it to the tail of the* inactive list.

函数原型:void rotate_reclaimable_page(struct page *page)

返回类型:void

参数:

类型参数名称
struct page *page
251  如果非PageLocked(page)且非PageDirty(page)且非PageUnevictable(page)且PageLRU(page)则
256  get_page(page)
257  local_irq_save(flags)
258  pvec等于this_cpu_ptr( & lru_rotate_pvecs)
259  如果非Add a page to a pagevec. Returns the number of slots still available.PageCompound(page)则pagevec_move_tail() must be called with IRQ disabled.* Otherwise this may cause nasty races.
261  local_irq_restore(flags)
调用者
名称描述
end_page_writebackd_page_writeback - end writeback against a page*@page: the page