Does unmap() flush tlb on other cores

Yuxin Ren ryx at gwmail.gwu.edu
Tue Sep 23 16:34:58 CEST 2014


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 <
adam at os.inf.tu-dresden.de> 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                 adam at os.inf.tu-dresden.de
>   Lackorzynski         http://os.inf.tu-dresden.de/~adam/
>
> _______________________________________________
> l4-hackers mailing list
> l4-hackers at os.inf.tu-dresden.de
> http://os.inf.tu-dresden.de/mailman/listinfo/l4-hackers
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://os.inf.tu-dresden.de/pipermail/l4-hackers/attachments/20140923/f1a7b5a1/attachment.html>


More information about the l4-hackers mailing list