Deleted Added
sdiff udiff text old ( 67365 ) new ( 72200 )
full compact
1/*-
2 * Copyright (c) 2000, All rights reserved. See /usr/src/COPYRIGHT
3 *
4 * $FreeBSD: head/sys/kern/kern_idle.c 72200 2001-02-09 06:11:45Z bmilekic $
5 */
6
7#include "opt_ktrace.h"
8
9#include <sys/param.h>
10#include <sys/systm.h>
11#include <sys/proc.h>
12#include <sys/kernel.h>

--- 87 unchanged lines hidden (view full) ---

100 if (vm_page_zero_idle() != 0)
101 continue;
102
103#ifdef __i386__
104 cpu_idle();
105#endif
106 }
107
108 mtx_lock_spin(&sched_lock);
109 mi_switch();
110 mtx_unlock_spin(&sched_lock);
111 }
112}