]> git.saurik.com Git - apple/xnu.git/blobdiff - osfmk/vm/vm_purgeable.c
xnu-7195.101.1.tar.gz
[apple/xnu.git] / osfmk / vm / vm_purgeable.c
index b44ec0cf8dd2e056dca8dcf920d94cf328b79d03..08355b9e543a3d027351c9c9b5e025fb540a0cda 100644 (file)
@@ -736,13 +736,13 @@ vm_purgeable_object_find_and_lock(
                 */
                owner = object->vo_owner;
                if (owner != NULL && owner != VM_OBJECT_OWNER_DISOWNED) {
-#if CONFIG_EMBEDDED
+#if !XNU_TARGET_OS_OSX
 #if CONFIG_JETSAM
                        object_task_importance = proc_get_memstat_priority((struct proc *)get_bsdtask_info(owner), TRUE);
 #endif /* CONFIG_JETSAM */
-#else /* CONFIG_EMBEDDED */
+#else /* !XNU_TARGET_OS_OSX */
                        object_task_importance = task_importance_estimate(owner);
-#endif /* CONFIG_EMBEDDED */
+#endif /* !XNU_TARGET_OS_OSX */
                }
 
                if (object_task_importance < best_object_task_importance) {