| /xnu-11215/doc/vm/ |
| H A D | memorystatus_kills.md | 7 <a name="kill-types"></a> 9 …kill reasons, their corresponding `memorystatus_action_t`, the kill context (does the kill happen … 11 More information on each kill type is provided below 35 … vnode limit, and the VFS subsystem is not able to recycle any vnodes, we kill processes in ascend… 39 …w `memorystatus_available_pages_critical`. The `memorystatus_thread` will kill processes in ascend… 80 …emorystatus notification thread calls `memorystatus_idle_exit_from_VM` to kill 1 idle daemon. Note… 84 …process to kill, it performs a synchronous kill. If not, it asks the `memorystatus_thread` to pick… 88 …ons and decompressions in the last 10 m.s. The `memorystatus_thread` will kill the process with th… 101 Memorystatus will kill swap eligible processes (ones in app coalitions) in ascending jetsam priorit… 106 … to perform these kills. We will only kill idle processes and will pause for 500 m.s. between each… [all …]
|
| H A D | memorystatus.md | 18 One of the most common actions is to kill 1 or more processes in an attempt to recover the system. 40 Contains mechanical code to implement the kill and swap actions. Should not contain any policy 58 …that happen on other threads. See `doc/memorystatus/kill.md` for more documentation on specific ki… 64 …y system if we're somewhat low on a specific resource. For example, we'll kill procs over their so… 78 Many kill types kill in ascending jetsam priority level. See `doc/memorystatus/kill.md` for more de… 145 …ealth check and performing most jetsam kills (see `doc/memorystatus/kill.md` for a kill breakdown). 185 …calls `memorystatus_approaching_fg_band` when we're about to do a fg band kill. This in turn calls…
|
| /xnu-11215/tests/ |
| H A D | sigcont_return.c | 23 kill(pid, SIGSTOP); 24 kill(pid, SIGCONT); 30 kill(pid, SIGKILL);
|
| H A D | task_policy.c | 102 ret = kill(pid, SIGTERM); 132 ret = kill(pid, SIGTERM); 162 ret = kill(pid, SIGTERM); 246 ret = kill(pid, SIGTERM); 276 ret = kill(pid, SIGTERM); 306 ret = kill(pid, SIGTERM); 392 ret = kill(pid, SIGTERM); 422 ret = kill(pid, SIGTERM); 452 ret = kill(pid, SIGTERM); 536 ret = kill(pid, SIGTERM); [all …]
|
| H A D | perf_compressor.c | 167 T_QUIET; T_ASSERT_POSIX_SUCCESS(kill(pid, SIGUSR1), "failed to send SIGUSR1 to child process"); in freeze_helper_process() 178 kill(pid, SIGKILL); in cleanup() 231 kill(pid, SIGKILL); in run_compressor_test() 281 T_QUIET; T_ASSERT_POSIX_SUCCESS(kill(pid, SIGCONT), "failed to send SIGCONT to child process"); in run_compressor_test() 349 if (kill(getppid(), SIGUSR1) != 0) { 379 if (kill(getppid(), SIGUSR2) != 0) { 387 if (kill(getppid(), SIGUSR1) != 0) {
|
| H A D | signal_exit_reason.c | 178 kill(child, signal); in __test_exit_reason_external_signal() 269 kill(child, signal); in __test_exit_reason_signal_with_audittoken_fail_bad_token() 286 kill(child, signal); in __test_exit_reason_signal_with_audittoken_fail_null_token() 303 kill(child, signal); in __test_exit_reason_signal_with_audittoken_fail_bad_signal()
|
| H A D | exec-race-58566604.c | 96 ret = kill(child_pid, SIGKILL); in run_test() 107 ret = kill(child_pid, SIGKILL); in run_test()
|
| H A D | stackshot_translated_child.c | 9 kill(getppid(), SIGUSR1); in main()
|
| H A D | test_static_binary_csflags.c | 29 ret = kill(pid, SIGCONT);
|
| H A D | freebsd_waitpid_nohang.c | 54 r = kill(child, SIGTERM);
|
| H A D | kevent_pty.c | 124 T_ASSERT_POSIX_SUCCESS(kill(master_pid, SIGKILL), NULL); 127 (void)kill((int)slave_pid, SIGKILL);
|
| H A D | test_ptraceme.c | 80 kill(child_pid, SIGTERM);
|
| H A D | signal_stack.c | 53 kill(getpid(), SIGUSR1);
|
| H A D | epoch_sync_tests.c | 89 int ret = kill(pid, SIGKILL);
|
| H A D | stackshot_accuracy.m | 77 kill(ppid, SIGUSR1); 86 kill(child_pid, SIGKILL); 298 kill(getppid(), SIGUSR1); 381 T_ASSERT_POSIX_SUCCESS(kill(child_pid, SIGTERM), "killed child"); 470 T_ASSERT_POSIX_SUCCESS(kill(child_pid, SIGTERM), "killed child"); 568 T_ASSERT_POSIX_SUCCESS(kill(child_pid, SIGTERM), "killed child");
|
| H A D | suspended_spawn_26184412.c | 70 ret = kill(child_pid, signal); in spawn_and_signal()
|
| H A D | posix_spawn_posix_cred.c | 80 ret = kill(child_pid, SIGCONT);
|
| /xnu-11215/libsyscall/wrappers/ |
| H A D | quota_obsolete.c | 40 return kill(getpid(), SIGSYS); in quota() 46 return kill(getpid(), SIGSYS); in setquota()
|
| H A D | kill.c | 36 kill(pid_t pid, int sig) in kill() function
|
| /xnu-11215/tests/vm/ |
| H A D | memorystatus_freeze_test.c | 346 kill(child_pid, SIGKILL); 428 if (kill(getppid(), SIGUSR1) != 0) { 469 if (kill(getppid(), SIGUSR1) != 0) { 568 if (kill(getppid(), SIGUSR1) != 0) { 891 T_QUIET; T_ASSERT_POSIX_SUCCESS(kill(pid, SIGKILL), "Killed process"); 899 kill(child_pid, SIGKILL); 1171 if (kill(getppid(), SIGUSR1) != 0) { 1194 kill(child_pid, SIGUSR1); 1562 kill(second_child, SIGKILL); 1826 if (kill(getppid(), SIGUSR1) != 0) { [all …]
|
| H A D | memorystatus_freeze_test_entitled.c | 45 kill(helper_pid, SIGUSR1); in signal_helper_process()
|
| /xnu-11215/osfmk/mach/ |
| H A D | resource_notify.defs | 132 /* kill port */ 152 /* kill port */ 173 /* kill port */
|
| /xnu-11215/tests/vm_memory_tests_src/ |
| H A D | main.c | 89 kill(pid, SIGKILL); in spawn_process() 124 kill(serverPid, SIGKILL); in mach_client()
|
| /xnu-11215/tests/vfs/ |
| H A D | freeable_vnodes.c | 161 kill(vnoder_pid, SIGKILL); in cleanup() 265 kill(vnoder_pid, SIGKILL);
|
| /xnu-11215/tests/ktrace/ |
| H A D | ktrace_helpers.h | 47 kill(ownerpid, SIGKILL); in start_controlling_ktrace()
|