Function report |
Source Code:mm\huge_memory.c |
Create Date:2022-07-28 16:02:53 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:__split_huge_page_tail
Proto:static void __split_huge_page_tail(struct page *head, int tail, struct lruvec *lruvec, struct list_head *list)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct page * | head | |
| int | tail | |
| struct lruvec * | lruvec | |
| struct list_head * | list |
| 2442 | VM_BUG_ON_PAGE(atomic_read( & * If the page can be mapped to userspace, encodes the number * of times this page is referenced by a page table.) != - 1, page_tail) |
| 2450 | Atomic flags, some possibly * updated asynchronously &= ~Flags checked when a page is prepped for return by the page allocator |
| 2451 | Atomic flags, some possibly * updated asynchronously |= Atomic flags, some possibly * updated asynchronously & ( 1L << PG_referenced | 1L << PG_swapbacked | 1L << PG_swapcache | 1L << PG_mlocked | 1L << PG_uptodate | 1L << PG_active | 1L << PG_workingset | 1L << PG_locked | 1L << PG_unevictable | 1L << PG_dirty ) |
| 2464 | VM_BUG_ON_PAGE(tail > 2 && See page-flags.h for PAGE_MAPPING_FLAGS != mm/page_alloc.c ***********, page_tail) |
| 2470 | smp_wmb() |
| 2478 | clear_compound_head(page_tail) |
| 2481 | page_ref_unfreeze(page_tail, 1 + (!PageAnon(head) || PageSwapCache(head))) |
| 2484 | If page_is_young(head) Then set_page_young(page_tail) |
| 2486 | If page_is_idle(head) Then set_page_idle(page_tail) |
| Name | Describe |
|---|---|
| __split_huge_page |
| 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 |