All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andi Kleen <ak@suse.de>
To: Frank Cornelis <Frank.Cornelis@rug.ac.be>
Cc: linux-kernel@vger.kernel.org
Subject: Re: task_struct.mm == NULL
Date: 28 Nov 2001 13:23:20 +0100	[thread overview]
Message-ID: <p734rnfrsnb.fsf@amdsim2.suse.de> (raw)
In-Reply-To: <Pine.GSO.4.31.0111281300070.8642-100000@eduserv.rug.ac.be.suse.lists.linux.kernel>
In-Reply-To: Frank Cornelis's message of "28 Nov 2001 13:09:45 +0100"

Frank Cornelis <Frank.Cornelis@rug.ac.be> writes:

> Hey,
> 
> I found in some code checks for task_struct.mm being NULL.
> When can task_struct.mm of a process be NULL except right before the
> process-kill?

For kernel threads that run in lazy-mm mode. It allows a much cheaper context
switch into kernel threads.

-Andi

       reply	other threads:[~2001-11-28 12:23 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <Pine.GSO.4.31.0111281300070.8642-100000@eduserv.rug.ac.be.suse.lists.linux.kernel>
2001-11-28 12:23 ` Andi Kleen [this message]
2001-11-28 14:10   ` task_struct.mm == NULL Shaya Potter
2001-11-28 12:03 Frank Cornelis
2001-11-28 12:18 ` Tigran Aivazian

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=p734rnfrsnb.fsf@amdsim2.suse.de \
    --to=ak@suse.de \
    --cc=Frank.Cornelis@rug.ac.be \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.