Re: Does unmap() flush tlb on other cores
Yuxin Ren <[email protected]>
| Newsgroups | gmane.comp.micro-kernel.l4.devel |
|---|---|
| Message-ID | <CAAKbDrdtXANg0DnZNpU8KunJ5w-KcKOb76MrrcPcwYEdYXwPug@mail.gmail.com> |
Thank you very much. You are really helpful! I have looked at that code and understand it very well. Yuxin On Tue, Sep 23, 2014 at 1:42 AM, Adam Lackorzynski < [email protected]> wrote: > On Thu Sep 18, 2014 at 21:38:30 -0400, Yuxin Ren wrote: > > I have question about tlb flush. > > When a memory page is unmaped, do we always flush tlb of all other cores? > > Or do we have some way to track which core to flush? > > If so, how do we track that information? > > And it would be better if some one can show the code in the kernel to do > > that. > > Please look for active_tlb() in Context and global_flush() in > map_util.cpp where the flush is done according to the active_tlb mask. > > > > Adam > -- > Adam [email protected] > Lackorzynski http://os.inf.tu-dresden.de/~adam/ > > _______________________________________________ > l4-hackers mailing list > [email protected] > http://os.inf.tu-dresden.de/mailman/listinfo/l4-hackers > _______________________________________________ l4-hackers mailing list [email protected] http://os.inf.tu-dresden.de/mailman/listinfo/l4-hackers