Home
last modified time | relevance | path

Searched refs:kill (Results 1 – 25 of 61) sorted by relevance

123

/xnu-11215/doc/vm/
H A Dmemorystatus_kills.md7 <a name="kill-types"></a>
9kill 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 Dmemorystatus.md18 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 Dsigcont_return.c23 kill(pid, SIGSTOP);
24 kill(pid, SIGCONT);
30 kill(pid, SIGKILL);
H A Dtask_policy.c102 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 Dperf_compressor.c167 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 Dsignal_exit_reason.c178 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 Dexec-race-58566604.c96 ret = kill(child_pid, SIGKILL); in run_test()
107 ret = kill(child_pid, SIGKILL); in run_test()
H A Dstackshot_translated_child.c9 kill(getppid(), SIGUSR1); in main()
H A Dtest_static_binary_csflags.c29 ret = kill(pid, SIGCONT);
H A Dfreebsd_waitpid_nohang.c54 r = kill(child, SIGTERM);
H A Dkevent_pty.c124 T_ASSERT_POSIX_SUCCESS(kill(master_pid, SIGKILL), NULL);
127 (void)kill((int)slave_pid, SIGKILL);
H A Dtest_ptraceme.c80 kill(child_pid, SIGTERM);
H A Dsignal_stack.c53 kill(getpid(), SIGUSR1);
H A Depoch_sync_tests.c89 int ret = kill(pid, SIGKILL);
H A Dstackshot_accuracy.m77 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 Dsuspended_spawn_26184412.c70 ret = kill(child_pid, signal); in spawn_and_signal()
H A Dposix_spawn_posix_cred.c80 ret = kill(child_pid, SIGCONT);
/xnu-11215/libsyscall/wrappers/
H A Dquota_obsolete.c40 return kill(getpid(), SIGSYS); in quota()
46 return kill(getpid(), SIGSYS); in setquota()
H A Dkill.c36 kill(pid_t pid, int sig) in kill() function
/xnu-11215/tests/vm/
H A Dmemorystatus_freeze_test.c346 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 Dmemorystatus_freeze_test_entitled.c45 kill(helper_pid, SIGUSR1); in signal_helper_process()
/xnu-11215/osfmk/mach/
H A Dresource_notify.defs132 /* kill port */
152 /* kill port */
173 /* kill port */
/xnu-11215/tests/vm_memory_tests_src/
H A Dmain.c89 kill(pid, SIGKILL); in spawn_process()
124 kill(serverPid, SIGKILL); in mach_client()
/xnu-11215/tests/vfs/
H A Dfreeable_vnodes.c161 kill(vnoder_pid, SIGKILL); in cleanup()
265 kill(vnoder_pid, SIGKILL);
/xnu-11215/tests/ktrace/
H A Dktrace_helpers.h47 kill(ownerpid, SIGKILL); in start_controlling_ktrace()

123