Function report |
Source Code:mm\page_alloc.c |
Create Date:2022-07-28 15:04:00 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:check_new_page_bad
Proto:static void check_new_page_bad(struct page *page)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct page * | page |
| 2044 | const char * bad_reason = NULL |
| 2045 | bad_flags = 0 |
| 2047 | 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" |
| 2049 | 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" |
| 2051 | If Value for the false possibility is greater at compile time(page_ref_count(page) != 0) Then bad_reason = "nonzero _refcount" |
| 2061 | bad_reason = "PAGE_FLAGS_CHECK_AT_PREP flag set" |
| 2065 | If Value for the false possibility is greater at compile time(mem_cgroup) Then bad_reason = "page still charged to cgroup" |
| 2068 | bad_page(page, bad_reason, bad_flags) |
| Name | Describe |
|---|---|
| check_new_page | This page is about to be returned from the page allocator |
| 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 |