LWN.net Logo

Reworking vmap()

Reworking vmap()

Posted Dec 31, 2008 19:03 UTC (Wed) by terminus (guest, #49129)
In reply to: Reworking vmap() by kleptog
Parent article: Reworking vmap()

I believe there are instructions to flush particular TLB entries -- invlpg for one.

AFAICS the trouble in this case stems from the inefficiency of a global TLB flush. Post a vfree() you have changed some global state on your *local* CPU. However, the other remote TLBs don't know about this change in state and will happily resolve references to the vfree'd range unless told otherwise. Thus, the IPIs to inform them to flush TLB.


(Log in to post comments)

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds