X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/316670eb35587141e969394ae8537d66b9211e80..c18c124eaa464aaaa5549e99e5a70fc9cbb50944:/bsd/kern/vm_pressure.h diff --git a/bsd/kern/vm_pressure.h b/bsd/kern/vm_pressure.h index 059e9c23c..402283583 100644 --- a/bsd/kern/vm_pressure.h +++ b/bsd/kern/vm_pressure.h @@ -30,6 +30,7 @@ #define VM_PRESSURE_H #include +#include void vm_pressure_init(lck_grp_t *grp, lck_attr_t *attr); @@ -39,8 +40,10 @@ void vm_knote_unregister(struct knote *); void consider_vm_pressure_events(void); void vm_pressure_proc_cleanup(proc_t); -#if CONFIG_MEMORYSTATUS && (DEVELOPMENT || DEBUG) -boolean_t vm_dispatch_pressure_note_to_pid(pid_t pid); -#endif +#if VM_PRESSURE_EVENTS +void vm_find_pressure_foreground_candidates(void); +void vm_find_pressure_candidate(void); +boolean_t vm_dispatch_pressure_note_to_pid(pid_t pid, boolean_t locked); +#endif /* VM_PRESSURE_EVENTS */ #endif /* VM_PRESSURE_H */