Function report |
Source Code:mm\hugetlb.c |
Create Date:2022-07-28 15:26:48 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:This routine is called to restore a reservation on error paths
Proto:static void restore_reserve_on_error(struct hstate *h, struct vm_area_struct *vma, unsigned long address, struct page *page)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct hstate * | h | |
struct vm_area_struct * | vma | |
unsigned long | address | |
struct page * | page |
1967 | rc = vma_needs_reservation(h, vma, address) |
1969 | If Value for the false possibility is greater at compile time(rc < 0) Then |
1982 | Else if rc Then |
1983 | rc = vma_add_reservation(h, vma, address) |
1990 | Else vma_end_reservation(h, vma, address) |
Name | Describe |
---|---|
hugetlb_cow | Hugetlb_cow() should be called with page lock of the original hugepage held.* Called with hugetlb_instantiation_mutex held and pte_page locked so we* cannot race with other handlers or page migration. |
hugetlb_no_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 |