Re: kernel processes - are they really needed?

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

 



El Wed, Oct 31, 2007 at 05:01:42PM +0100 Jan Kara ha dit:
 
> >     When i do ps -l. i see the following processes which are obviously
> > started by kernel.
> > 
> >    Could any one tell me what each of these processes do and can
> > anyone of them can be removed.?
>   I'll write what I know :)

i'll also put my 0.5 cents :)

> > PID  Uid     VmSize Stat Command
> >     1 root        584 S   init
> >     2 root            SWN [ksoftirqd/0]

executes (on CPU 0) the deferred parts of interrupt routines (bottom
halves), i.e. softirqs and tasklets. bad candidate for removal imo

> >     3 root            SW  [watchdog/0]
> >     4 root            SW< [events/0]

this one is in charge of executing deferred functions placed in the
default work queue. also a bad candidate for removal

> >     5 root            SW< [khelper]
> >     6 root            SW< [kthread]
> >    23 root            SW< [kblockd/0]
>   This one has something to do with block layer - like unplugging
> request queue after a certain timeout etc.
> 
> >    38 root            SW  [pdflush]
> >    39 root            SW  [pdflush]
>   Doing writeback of dirty data.
> 
> >    40 root            SW< [kswapd0]
>   Swapping pages in and out.
> 
> >    41 root            SW< [aio/0]
>   Kernel thread handling asynchronous IO.
> 
> >    85 root            SW  [mtdblockd]
> >   116 root            SWN [jffs2_gcd_mtd9]
>   jffs2 specific - ask a maintainer :) (and mtdblockd has something to
> do with MTD devices so he may know that one as well).

-- 
Matthias Kaehlcke
Linux Application Developer
Barcelona

                If you don't know where you are going,
               you will probably end up somewhere else
                         (Laurence J. Peter)
                                                                 .''`.
    using free software / Debian GNU/Linux | http://debian.org  : :'  :
                                                                `. `'`
gpg --keyserver pgp.mit.edu --recv-keys 47D8E5D4                  `-
-
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