函数逻辑报告 |
Source Code:mm\swap.c |
Create Date:2022-07-27 15:37:16 |
Last Modify:2022-05-23 13:40:24 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:lru_add_drain_all
函数原型:void lru_add_drain_all(void)
返回类型:void
参数:无
767 | lru_add_drain() |
名称 | 描述 |
---|---|
check_and_migrate_cma_pages | |
scan_get_next_rmap_item | |
migrate_prep | migrate_prep() needs to be called before we start compiling a list of pages* to be migrated using isolate_lru_page(). If scheduling work on other CPUs is* undesirable, use migrate_prep_local() |
mem_cgroup_force_empty | Reclaims as many pages from the given memcg as possible.* Caller is responsible for holding css reference for memcg. |
mem_cgroup_move_charge | |
shake_page | When a unknown page type is encountered drain as many buffers as possible* in the hope to turn the page into a LRU or free page, which we can handle. |
memfd_wait_for_pins | Setting SEAL_WRITE requires us to verify there's no pending writer. However,* via get_user_pages(), drivers might have some pending I/O without any active* user-space mappings (eg., direct-IO, AIO). Therefore, we look at all pages |
generic_fadvise | POSIX_FADV_WILLNEED could set PG_Referenced, and POSIX_FADV_NOREUSE could* deactivate the pages and clear PG_Referenced. |
invalidate_bdev | Invalidate clean unused buffers and pagecache. |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |