diff options
-rw-r--r-- | kern/thread.c | 2 | ||||
-rw-r--r-- | vm/vm_pageout.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/kern/thread.c b/kern/thread.c index 8474950..c627a06 100644 --- a/kern/thread.c +++ b/kern/thread.c @@ -2236,7 +2236,6 @@ thread_wire( void thread_collect_scan(void) { -#if 0 register thread_t thread, prev_thread; processor_set_t pset, prev_pset; @@ -2289,7 +2288,6 @@ void thread_collect_scan(void) thread_deallocate(prev_thread); if (prev_pset != PROCESSOR_SET_NULL) pset_deallocate(prev_pset); -#endif /* 0 */ } boolean_t thread_collect_allowed = TRUE; diff --git a/vm/vm_pageout.c b/vm/vm_pageout.c index ecedb57..aff823a 100644 --- a/vm/vm_pageout.c +++ b/vm/vm_pageout.c @@ -551,6 +551,8 @@ void vm_pageout_scan(void) stack_collect(); net_kmsg_collect(); consider_task_collect(); + if (0) /* XXX: pcb_collect doesn't do anything yet, so it is + pointless to call consider_thread_collect. */ consider_thread_collect(); slab_collect(); |