Hi!
> > How about adding a flag to FLAGS, or a new letter in STATE in
> > /proc/pid/stat, to mean "this is an idle task"?
> >
> > ps & top could easily by taught to recognise the flag.
>
> What's the problem with using PID 0 as the idle task ? That's 'standard'
> with OS'ses that display the idle task.
Linux has already another thread with pid 0, called "swapper" which is
in fact idle. kidle-apmd is different beast.
> It's also the 'right' thing to do, and should directly work with top / ps
Yes, we should make pid 0 visible to userlnad, agreed.
Pavel
--
The best software in life is free (not shareware)! Pavel
GCM d? s-: !g p?:+ au- a--@ w+ v- C++@ UL+++ L++ N++ E++ W--- M- Y- R+
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/
- Re: kapm-idled : is this a bug? Robert M. Love
- Re: kapm-idled : is this a bug? Rik van Riel
- Re: kapm-idled : is this a bug? Nick Holloway
- Re: kapm-idled : is this a bug? stewart
- Re: kapm-idled : is this a bug? Mark Hahn
- Re: kapm-idled : is this a bug? Richard B. Johnson
- Re: kapm-idled : is this a bug? Kurt Garloff
- Re: kapm-idled : is this a bug? Pavel Machek
- Re: kapm-idled : is this a bug? Jamie Lokier
- Re: kapm-idled : is this a bug? Igmar Palsenberg
- Re: kapm-idled : is this a bug? Pavel Machek
- Re: kapm-idled : is this a bu... Igmar Palsenberg
- Re: kapm-idled : is this a bu... Pavel Machek
- Re: kapm-idled : is this a bu... Albert D. Cahalan
- Re: kapm-idled : is this a bu... Pavel Machek
- Re: kapm-idled : is this a bu... Igmar Palsenberg
- Re: kapm-idled : is this a bu... Igmar Palsenberg

