Function report |
Source Code:mm\oom_kill.c |
Create Date:2022-07-28 14:06:33 |
Last Modify:2022-05-23 13:16:41 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Determines whether the kernel must panic because of the panic_on_oom sysctl.
Proto:static void check_panic_on_oom(struct oom_control *oc)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct oom_control * | oc |
1001 | If Value is more likely to compile time(!sysctl_panic_on_oom) Then Return |
1003 | If sysctl_panic_on_oom != 2 Then |
1009 | If Used to print the constraint info. != CONSTRAINT_NONE Then Return |
1013 | If rder == -1 means the oom kill is required by sysrq, otherwise only* for display purposes. Then Return |
1015 | dump_header(oc, NULL) |
Name | Describe |
---|---|
out_of_memory | _of_memory - kill the "best" process when we run out of memory*@oc: pointer to struct oom_control* If we run out of memory, we have the choice between either* killing a random task (bad), letting the system crash (worse) |
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 |