Function report |
Source Code:mm\memory-failure.c |
Create Date:2022-07-28 16:18:22 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Send all the processes who have the page mapped a signal.* ``action optional'' if they are not immediately affected by the error* ``action required'' if error happened in current execution context
Proto:static int kill_proc(struct to_kill *tk, unsigned long pfn, int flags)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct to_kill * | tk | |
| unsigned long | pfn | |
| int | flags |
| 212 | addr_lsb = size_shift |
| 215 | pr_err("Memory failure: %#lx: Sending SIGBUS to %s:%d due to hardware memory corruption\n", pfn, comm, pid) |
| 218 | If flags & MF_ACTION_REQUIRED && mm == mm Then |
| 221 | Else |
| 234 | Return ret |
| Name | Describe |
|---|---|
| kill_procs | Kill the processes that have been collected earlier.* Only do anything when DOIT is set, otherwise just free the list* (this is used for clean pages which do not need killing)* Also when FAIL is set do a force kill because something went* wrong earlier. |
| 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 |