Skip to contentSkip to conversation

TLB corruption in 2.4.31 scenario?

DISCUSSION Keith Owens 1 participant 1 message Jun 15, 2005

lore
Share & tools
lore
#0 lore raw

Mario cannot get to the ia64 list, so I am forwarding this for him. Please cc Mario on any replies.

------- Forwarded Message

I noticed during a do_fork() -> copy_mm() -> dup_mmap() - flush_tlb_mm()
gets called that clears current->mm->context. Now if on another CPU is running wrap_mmu_context() it can potenitally
step over this context number and assign an alias context to
a new task, then there is a window between the flushing of
the TLB and some other task getting its new context
assigned and returning to user space. Do you think
there is potential here?

The question comes from TLB aliasing like core files that I've analyzed. We have not been able to isolate this to a self-contained executable so the next best thing I could do is read the code, the issue is very critical for us.

I'd appreciate any insights you may have, btw I can't get on the ia64 maillist for some reason.

- mario

------- End of Forwarded Message