All of lore.kernel.org
 help / color / mirror / Atom feed
From: Manfred Spraul <manfreds@colorfullife.com>
To: linux-kernel@vger.rutgers.edu
Subject: Q: how can I enumerate all mm_struct
Date: Sun, 13 Feb 2000 12:15:01 +0100	[thread overview]
Message-ID: <38A69235.BDF5C7D2@colorfullife.com> (raw)

How can you enumerate all mm_struct's with the new lazy tlb code? Both
ia64 [arch/ia64/mm/tlb.c] and  ppc [arch/ppc/mm/init.c] assume that

	for_each_task(tsk) {
		do_something(tsk->mm);
	}

will reach all mm_structs, but if a thread is running in temporary lazy
tlb mode {start,end}_lazy_tlb(), then this fails.

Is there another way to enumerate all mm_structs, or should I add a new
double linked list?

--
	Manfred

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

                 reply	other threads:[~2000-02-13  7:14 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=38A69235.BDF5C7D2@colorfullife.com \
    --to=manfreds@colorfullife.com \
    --cc=linux-kernel@vger.rutgers.edu \
    /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.