Function report |
Source Code:mm\page_alloc.c |
Create Date:2022-07-28 15:03:27 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:free_pages_check_bad
Proto:static void free_pages_check_bad(struct page *page)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct page * | page |
1033 | bad_reason = NULL |
1034 | bad_flags = 0 |
1036 | If Value for the false possibility is greater at compile time(atomic_read( & * If the page can be mapped to userspace, encodes the number * of times this page is referenced by a page table.) != - 1) Then bad_reason = "nonzero mapcount" |
1038 | If Value for the false possibility is greater at compile time( See page-flags.h for PAGE_MAPPING_FLAGS != NULL) Then bad_reason = "non-NULL mapping" |
1040 | If Value for the false possibility is greater at compile time(page_ref_count(page) != 0) Then bad_reason = "nonzero _refcount" |
1043 | bad_reason = "PAGE_FLAGS_CHECK_AT_FREE flag(s) set" |
1047 | If Value for the false possibility is greater at compile time(mem_cgroup) Then bad_reason = "page still charged to cgroup" |
1050 | bad_page(page, bad_reason, bad_flags) |
Name | Describe |
---|---|
free_pages_check |
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 |