public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Sylvain <autofr@gmail.com>
To: Linux Kernel <linux-kernel@vger.kernel.org>
Subject: how to distinguish if a task_struct belong to a kernel thread or a user task?
Date: Thu, 2 Dec 2004 22:48:04 +0100	[thread overview]
Message-ID: <64b1faec04120213487e1bfcd1@mail.gmail.com> (raw)

Hi all,

I have little question while doing some kernel implementation.
How to distinguish if a task_struct belongs to a kernel thread or user task.?

My idea was to look at task_struct "mm" field to discriminate them,
but that was wrong.

Thanks,

Sylvain

                 reply	other threads:[~2004-12-02 21:53 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=64b1faec04120213487e1bfcd1@mail.gmail.com \
    --to=autofr@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox