Kernel threads without process context

View: New views
3 Messages — Rating Filter:   Alert me  

Kernel threads without process context

by Michael Neumann :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

Are there any kernel threads without process context? Which ones are
those and for what reason don't they have a process context?

Regards,

   Michael

Re: Kernel threads without process context

by Nuno Antunes :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Tue, Sep 23, 2008 at 5:03 PM, Michael Neumann <mneumann@...> wrote:
> Hi,
>
> Are there any kernel threads without process context? Which ones are those
> and for what reason don't they have a process context?

The pageout daemon is one of such threads [1].

[1] http://www.dragonflybsd.org/goals/threads.shtml

Cheers
Nuno

> Regards,
>
>  Michael
>

Re: Kernel threads without process context

by Matthew Dillon :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


:Hi,
:
:Are there any kernel threads without process context? Which ones are
:those and for what reason don't they have a process context?
:
:Regards,
:
:   Michael

    Most kernel threads do not have processes.  If you do a 'ps axl', any
    process you see with a PID of -1 is a pure kernel thread.

                                        -Matt
                                        Matthew Dillon
                                        <dillon@...>
LightInTheBox - Buy quality products at wholesale price!