Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name: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.

Proto:void rotate_reclaimable_page(struct page *page)

Type:void

Parameter:

TypeParameterName
struct page *page
251  If Not PageLocked(page) && Not PageDirty(page) && Not PageUnevictable(page) && PageLRU(page) Then
256  get_page(page)
257  local_irq_save(flags)
258  pvec = this_cpu_ptr( & lru_rotate_pvecs)
259  If Not Add a page to a pagevec. Returns the number of slots still available. || PageCompound(page) Then pagevec_move_tail() must be called with IRQ disabled.* Otherwise this may cause nasty races.
261  local_irq_restore(flags)