Function report |
Source Code:mm\memory-failure.c |
Create Date:2022-07-28 16:18:32 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name: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.
Proto:static void kill_procs(struct list_head *to_kill, int forcekill, bool fail, unsigned long pfn, int flags)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct list_head * | to_kill | |
| int | forcekill | |
| bool | fail | |
| unsigned long | pfn | |
| int | flags |
| 362 | If forcekill Then |
| 369 | pr_err("Memory failure: %#lx: forcibly killing %s:%d because of failure to unmap corrupted page\n", pfn, comm, process id) |
| 381 | Else if 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 < 0 Then pr_err("Memory failure: %#lx: Cannot send advisory machine check signal to %s:%d\n", pfn, * executable name, excluding path. * - normally initialized setup_new_exec() * - access it with [gs]et_task_comm() * - lock it with task_lock(), process id) |
| 385 | put_task_struct(tsk) |
| Name | Describe |
|---|---|
| hwpoison_user_mappings | Do all that is necessary to remove user space mappings. Unmap* the pages and send SIGBUS to the processes if the data was dirty. |
| memory_failure_dev_pagemap |
| 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 |