Function report |
Source Code:mm\madvise.c |
Create Date:2022-07-28 15:12:45 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Error injection support for memory error handling.
Proto:static int madvise_inject_error(int behavior, unsigned long start, unsigned long end)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
int | behavior | |
unsigned long | start | |
unsigned long | end |
869 | If Not Check operation authority Then Return -EPERM |
880 | pfn = page_to_pfn(page) |
889 | If PageHWPoison(page) Then |
894 | If behavior == soft offline page for testing Then |
898 | ret = soft_offline_page(pfn, MF_COUNT_INCREASED) |
901 | Continue |
920 | When zone cycle If Not Returns true if a zone has memory Then |
923 | Return 0 |
Name | Describe |
---|---|
SYSCALL_DEFINE3 | The madvise(2) system call |
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 |