Function report |
Source Code:mm\memory-failure.c |
Create Date:2022-07-28 16:19:10 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:identify_page_state
Proto:static int identify_page_state(unsigned long pfn, struct page *p, unsigned long page_flags)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| unsigned long | pfn | |
| struct page * | p | |
| unsigned long | page_flags |
| 1057 | cycle If ( Atomic flags, some possibly * updated asynchronously & mask) == res Then |
| 1059 | Break |
| 1061 | page_flags |= Atomic flags, some possibly * updated asynchronously & 1UL << PG_dirty |
| 1065 | If (page_flags & mask) == res Then Break |
| 1067 | Return page_action(ps, p, pfn) |
| Name | Describe |
|---|---|
| memory_failure_hugetlb | |
| memory_failure | memory_failure - Handle memory failure of a page.*@pfn: Page Number of the corrupted page*@flags: fine tune action taken* This function is called by the low level machine check code* of an architecture when it detects hardware memory corruption* of a 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 |