Linux-kernel mailing list archive 2000-07,: Q: how can I enumerate all mm_struct

# Q: how can I enumerate all mm_struct

Manfred Spraul (manfreds@colorfullife.com)
Sun, 13 Feb 2000 12:15:01 +0100

- Messages sorted by: [ date ][ thread ][ subject ][ author ]
- Next message: Andi Kleen: "[PATCH] Fix poll bug"
- Previous message: Ingo Molnar: "Re: 2.3.43: won't boot on one computer"

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/

- Next message: Andi Kleen: "[PATCH] Fix poll bug"
- Previous message: Ingo Molnar: "Re: 2.3.43: won't boot on one computer"