Function report |
Source Code:kernel\fork.c |
Create Date:2022-07-28 08:57:45 |
Last Modify:2020-03-17 11:04:53 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:check_mm
Proto:static void check_mm(struct mm_struct *mm)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct mm_struct * | mm |
660 | BUILD_BUG_ON_MSG - break compile if a condition is true & emit supplied* error message.*@condition: the condition which the compiler should know is false.* See BUILD_BUG_ON for description.(ARRAY_SIZE - get the number of elements in array @arr*@arr: array to be sized(resident_page_types) != NR_MM_COUNTERS, "Please make sure 'struct resident_page_types[]' is updated as well") |
663 | When i < NR_MM_COUNTERS cycle |
664 | x = atomic_long_read( & count[i]) |
666 | If Value for the false possibility is greater at compile time(x) Then pr_alert("BUG: Bad rss-counter state mm:%p type:%s val:%ld\n", mm, resident_page_types[i], x) |
671 | If mm_pgtables_bytes(mm) Then pr_alert("BUG: non-zero pgtables_bytes on freeing mm: %ld\n", mm_pgtables_bytes(mm)) |
Name | Describe |
---|---|
__mmdrop | Called when the last reference to the mm* is dropped: either by a lazy thread or by* mmput. Free the page directory and the mm. |
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 |