Q: how can I enumerate all mm_struct

From: Manfred Spraul (manfreds@colorfullife.com)
Date: Sun Feb 13 2000 - 06:15:01 EST


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/



This archive was generated by hypermail 2b29 : Tue Feb 15 2000 - 21:00:24 EST