Function report |
Source Code:mm\memory-failure.c |
Create Date:2022-07-28 16:18:29 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Schedule a process for later kill.* Uses GFP_ATOMIC allocations to avoid potential recursions in the VM.
Proto:static void add_to_kill(struct task_struct *tsk, struct page *p, struct vm_area_struct *vma, struct list_head *to_kill)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct task_struct * | tsk | |
| struct page * | p | |
| struct vm_area_struct * | vma | |
| struct list_head * | to_kill |
| 314 | If Not tk Then |
| 315 | pr_err("Memory failure: Out of memory while machine check handling\n") |
| 316 | Return |
| 319 | addr = At what user virtual address is page expected in vma?* Caller should check the page is actually part of the vma. |
| 320 | If is_zone_device_page(p) Then size_shift = dev_pagemap_mapping_shift(p, vma) |
| 336 | pr_info("Memory failure: Unable to find user space address %lx in %s\n", page_to_pfn(p), comm) |
| 338 | Else if size_shift == 0 Then |
| 343 | get_task_struct(tsk) |
| Name | Describe |
|---|---|
| collect_procs_anon | Collect processes when the error hit an anonymous page. |
| collect_procs_file | Collect processes when the error hit a file mapped 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 |