Function report |
Source Code:mm\mlock.c |
Create Date:2022-07-28 14:45:26 |
Last Modify:2022-05-23 14:12:58 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Prepare page for fast batched LRU putback via putback_lru_evictable_pagevec()* The fast path is available only for evictable pages with single mapping.* Then we can bypass the per-cpu pvec and get better performance.
Proto:static bool __putback_lru_fast_prepare(struct page *page, struct pagevec *pvec, int *pgrescued)
Type:bool
Parameter:
Type | Parameter | Name |
---|---|---|
struct page * | page | |
struct pagevec * | pvec | |
int * | pgrescued |
249 | VM_BUG_ON_PAGE(PageLRU(page), page) |
250 | VM_BUG_ON_PAGE(!PageLocked(page), page) |
254 | If TestClearPageUnevictable(page) Then pgrescued++ |
257 | Return true |
260 | Return false |
Name | Describe |
---|---|
__munlock_pagevec | Munlock a batch of pages from the same zone* The work is split to two main phases |
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 |