Function report |
Source Code:include\linux\mm.h |
Create Date:2022-07-28 05:43:39 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:per-process(per-mm_struct) statistics.
Proto:static inline unsigned long get_mm_counter(struct mm_struct *mm, int member)
Type:unsigned long
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct mm_struct * | mm | |
| int | member |
| 1618 | val = atomic_long_read( & count[member]) |
| 1628 | Return val |
| Name | Describe |
|---|---|
| oom_badness | m_badness - heuristic function to determine which candidate task to kill*@p: task struct of which task we should calculate*@totalpages: total present RAM allowed for page allocation* The heuristic for determining which task to kill is made to be as simple |
| dump_task | |
| oom_reap_task_mm | Reaps the address space of the give task.* Returns true on success and false if none or part of the address space* has been reclaimed and the caller should retry later. |
| __oom_kill_process |
| 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 |