RE: [PATCH] Rename "swapper" to "idle"

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> On 4/20/06, Bernd Eckenfels <[email protected]> wrote:
> > Hua Zhong <[email protected]> wrote:
> > > This patch renames the "swapper" process (pid 0) to a 
> more appropriate name "idle". The name "swapper" is not 
> obviously meaningful and confuses a lot of people (e.g., when 
> seen in oops report).
> > > Patch not tested, but I guess it works. :-)
> 
> As we saw in "Which process is associated with process ID 0 
> (swapper)", pid 0 can actually do things, such as resend TCP 
> packets. Methinks idle isn't the best name either.

Swapper does not do these things. It just happens to be "running" at that time (and it is always running if the system is idle).

IOW, it is indeed an "idle" process. In fact, all it does is cpu_idle().

> > on win the system idle process shows up in taskmanager so 
> you can see 
> > its cpu usage and ctx switches scheduled from it. We could 
> avoid the 
> > skipping in /proc, also?
> >
> > Gruss
> > Bernd
> Please, no!
> 
> I already have to explain this mess about Windows. We 
> shouldn't be implementing Microsoft's flaws. Why waist the a 
> line of screen for top?
> -
> To unsubscribe from this list: send the line "unsubscribe 
> linux-kernel" in the body of a message to 
> [email protected] More majordomo info at  
> http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at  http://www.tux.org/lkml/

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux