Function report | 
Source Code:mm\page_alloc.c | 
Create Date:2022-07-28 15:03:11 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:bad_page
Proto:static void bad_page(struct page *page, const char *reason, unsigned long bad_flags)
Type:void
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct page * | page | |
| const char * | reason | |
| unsigned long | bad_flags | 
| 623 | If nr_shown == 60 Then | 
| 624 | If time_before(jiffies, resume) Then | 
| 625 | nr_unshown++ | 
| 626 | Go to out | 
| 628 | If nr_unshown Then | 
| 629 | pr_alert("BUG: Bad page state: %lu messages suppressed\n", nr_unshown) | 
| 632 | nr_unshown = 0 | 
| 634 | nr_shown = 0 | 
| 639 | pr_alert("BUG: Bad page state in process %s pfn:%05lx\n", comm, page_to_pfn(page)) | 
| 641 | __dump_page(page, reason) | 
| 646 | dump_page_owner(page) | 
| 649 | dump_stack() | 
| 650 | out : | 
| Name | Describe | 
|---|---|
| free_pages_check_bad | |
| free_tail_pages_check | |
| check_new_page_bad | 
| 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  |