Proces [idle]
Divacky Roman
xdivac02 at stud.fit.vutbr.cz
Thu Mar 23 16:19:48 CET 2006
On Thu, Mar 23, 2006 at 04:07:54PM +0100, Kaminar wrote:
> Zdravim.
>
> Muzete mi, prosim, vysvetli, co to je za radek ve vypisu procesu:
>
> %ps -axl
> UID PID PPID CPU PRI NI VSZ RSS MWCHAN STAT TT TIME COMMAND
> ...
> 0 11 0 62 171 0 0 8 - RL ?? 2591:46,89 [idle]
> ...
kernel proces ktery se jmenuje "idle" ? slouzi k idlovani...
dela tohle:
for (;;) {
while (sched_runnable() == 0)
cpu_idle();
mi_switch(SW_VOL, NULL);
}
jasne?
More information about the Users-l
mailing list