Home
last modified time | relevance | path

Searched refs:JETSAM_PRIORITY_IDLE (Results 1 – 12 of 12) sorted by relevance

/xnu-11215/tests/vm/
H A Dentitlement_internal_bands.c22 for (int32_t band = JETSAM_PRIORITY_IDLE + 1; band <= JETSAM_PRIORITY_ENTITLED_MAX; band++) {
34 T_QUIET; T_ASSERT_EQ(set_band, JETSAM_PRIORITY_IDLE, "Fell through to idle band");
H A Dmemorystatus_sort_test.c161 static const int kJetsamBand = JETSAM_PRIORITY_IDLE;
H A Dmemorystatus_freeze_test.c268 props.priority = JETSAM_PRIORITY_IDLE;
1296 while (child_band != JETSAM_PRIORITY_IDLE) {
/xnu-11215/bsd/kern/
H A Dkern_memorystatus_policy.c198 os_atomic_load(&memstat_bucket[JETSAM_PRIORITY_IDLE].count, relaxed) > 0 && in memorystatus_pick_action()
364 …*total_candidates = memstat_bucket[JETSAM_PRIORITY_IDLE].count + memstat_bucket[system_procs_aging… in memorystatus_aggressive_jetsam_needed_sysproc_aging()
366 …int bad_candidates = memstat_bucket[JETSAM_PRIORITY_IDLE].relaunch_high_count + memstat_bucket[sys… in memorystatus_aggressive_jetsam_needed_sysproc_aging()
619 unsigned int band = JETSAM_PRIORITY_IDLE; in memorystatus_freeze_pick_process()
761 …for (unsigned int band = JETSAM_PRIORITY_IDLE; band <= memorystatus_freeze_max_candidate_band; ban… in memorystatus_pick_freeze_count_for_wakeup()
H A Dkern_memorystatus.c2603 priority = JETSAM_PRIORITY_IDLE; in memstat_update_priority_locked()
2610 priority = JETSAM_PRIORITY_IDLE; in memstat_update_priority_locked()
2620 priority = JETSAM_PRIORITY_IDLE; in memstat_update_priority_locked()
2778 priority = JETSAM_PRIORITY_IDLE; in memorystatus_set_priority()
2783 priority = JETSAM_PRIORITY_IDLE; in memorystatus_set_priority()
3205 priority = JETSAM_PRIORITY_IDLE; in memorystatus_dirty_track()
3306 priority = JETSAM_PRIORITY_IDLE; in memorystatus_dirty_set()
5862 if (aPid_ep == JETSAM_PRIORITY_IDLE) { in memorystatus_kill_proc()
7429 new_priority = JETSAM_PRIORITY_IDLE;
8707 int32_t i = JETSAM_PRIORITY_IDLE;
[all …]
H A Dkern_memorystatus_freeze.c420 …eeze_max_candidate_band, &memorystatus_freeze_max_candidate_band, JETSAM_PRIORITY_IDLE, JETSAM_PRI…
867 bucket = &memstat_bucket[JETSAM_PRIORITY_IDLE]; in memorystatus_freezer_get_status()
1194 uint32_t band = JETSAM_PRIORITY_IDLE; in memorystatus_freezer_reset_state()
1278 band = JETSAM_PRIORITY_IDLE; in kill_all_frozen_processes()
1982 memstat_update_priority_locked(p, JETSAM_PRIORITY_IDLE, in memorystatus_freeze_process()
2091 unsigned int band = JETSAM_PRIORITY_IDLE; in memorystatus_freezer_candidate_list_get_proc()
2307 int priority = JETSAM_PRIORITY_IDLE; in memorystatus_demote_frozen_process()
2549 unsigned int band = JETSAM_PRIORITY_IDLE; in memorystatus_freeze_mark_eligible_processes_with_skip_reason()
2682 band = JETSAM_PRIORITY_IDLE; in memorystatus_freeze_start_normal_throttle_interval()
H A Dkern_memorystatus_notify.c1289 unsigned int memorystatus_sustained_pressure_maximum_band = JETSAM_PRIORITY_IDLE;
/xnu-11215/tests/
H A Dmemorystatus_is_assertion.c282 …(void)check_properties(mypid, JETSAM_PRIORITY_IDLE, inactive_limit_mb, 0xBEEF, ASSERTION_STATE_IS_… in memorystatus_assertion_test_allow_idle_exit()
500 set_priority(my_pid, JETSAM_PRIORITY_IDLE, 0, false);
519 T_EXPECT_EQ(priority, JETSAM_PRIORITY_IDLE, "Process ages to IDLE");
591 check_properties(pid, JETSAM_PRIORITY_IDLE, memlimit_inactive, 0x0, false,
607 check_properties(pid, JETSAM_PRIORITY_IDLE, memlimit_inactive, 0x0, false,
H A Dmemorystatus_assertion_helpers.c22 if (priority == JETSAM_PRIORITY_IDLE) { in set_priority()
108 return set_assertion_priority(pid, JETSAM_PRIORITY_IDLE, user_data); in relinquish_assertion_priority()
H A Dmemorystatus_zone_test.c733 props.priority = JETSAM_PRIORITY_IDLE; in move_to_idle_band()
/xnu-11215/bsd/sys/
H A Dkern_memorystatus.h44 #define JETSAM_PRIORITY_IDLE 0 macro
/xnu-11215/doc/vm/
H A Dmemorystatus.md84 | 0 | `JETSAM_PRIORITY_IDLE` | Idle processes |
127 - `kern.memstat_idle_mb`: only processes whose priority is `JETSAM_PRIORITY_IDLE` may be killed (se…