Lines Matching refs:thrashing
2031 int thrashing; member
2068 android_log_write_int32(ctx, ki->thrashing); in killinfo_log()
2382 kill_st.thrashing = ki->thrashing; in kill_one_process()
2389 kill_st.thrashing = 0; in kill_one_process()
2608 int64_t thrashing = 0; in mp_event_psi() local
2727 thrashing = (workingset_refault_file - init_ws_refault) * 100 / (base_file_lru + 1); in mp_event_psi()
2730 thrashing += prev_thrash_growth; in mp_event_psi()
2731 if (max_thrashing < thrashing) { in mp_event_psi()
2732 max_thrashing = thrashing; in mp_event_psi()
2778 } else if (swap_is_low && thrashing > thrashing_limit_pct) { in mp_event_psi()
2783 get_free_swap(&mi) * page_k, swap_low_threshold * page_k, thrashing); in mp_event_psi()
2785 if (wmark > WMARK_MIN && thrashing < thrashing_critical_pct) { in mp_event_psi()
2796 if (wmark > WMARK_MIN && thrashing < thrashing_critical_pct) { in mp_event_psi()
2809 } else if (wmark < WMARK_HIGH && thrashing > thrashing_limit) { in mp_event_psi()
2813 PRId64 "%%)", wmark < WMARK_LOW ? "min" : "low", thrashing); in mp_event_psi()
2816 if (thrashing < thrashing_critical_pct) { in mp_event_psi()
2820 } else if (reclaim == DIRECT_RECLAIM && thrashing > thrashing_limit) { in mp_event_psi()
2824 PRId64 "%%)", thrashing); in mp_event_psi()
2827 if (thrashing < thrashing_critical_pct) { in mp_event_psi()
2852 .thrashing = (int)thrashing, in mp_event_psi()