public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Q: how can I enumerate all mm_struct
@ 2000-02-13 11:15 Manfred Spraul
  0 siblings, 0 replies; only message in thread
From: Manfred Spraul @ 2000-02-13 11:15 UTC (permalink / raw)
  To: linux-kernel

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/

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2000-02-13  7:14 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-02-13 11:15 Q: how can I enumerate all mm_struct Manfred Spraul

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox