Function report |
Source Code:include\linux\mm.h |
Create Date:2022-07-28 05:43:40 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Optimized variant when page is already known not to be PageAnon
Proto:static inline int mm_counter_file(struct page *page)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct page * | page |
| 1657 | If PageSwapBacked(page) Then Return MM_SHMEMPAGES |
| 1659 | Return MM_FILEPAGES |
| Name | Describe |
|---|---|
| __replace_page | __replace_page - replace page in vma by new page |
| insert_page | This is the old fallback for page remapping.* For historical reasons, it only allows reserved pages. Only* old drivers should use this, and they needed to mark their* pages reserved for the old functions anyway. |
| wp_page_copy | Handle the case of a page which we actually need to copy to a new page.* Called with mmap_sem locked and the old page referenced, but* without the ptl held.* High level logic flow:* - Allocate a page, copy the content of the old page to the new one. |
| alloc_set_pte | alloc_set_pte - setup new PTE entry for given page and add reverse page* mapping |
| try_to_unmap_one | @arg: enum ttu_flags will be passed to this argument |
| zap_huge_pmd | |
| __split_huge_pmd_locked |
| 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 |