On Fri, Aug 24, 2007 at 09:59:25AM +0100, David Howells wrote: > Nick Piggin <[EMAIL PROTECTED]> wrote: > > > I'm working on a bit of code that vmaps/vunmaps a bit more often than > > I'd like. I've implemented a frontend to cache commonly used mappings, > > which solves most of the problem, but in looking various other ways to > > get the last bit of performance, I thought might be generally helpful > > to batch up vunmap driven TLB flushes. So I'll just throw the idea > > out there (is anyone else doing a lot of vmapping? I'd like to hear > > from you!). > > Can the OOM handler force a purge?
You could, it would be just one function call from a process context. I didn't really bother at this stage, because it's just a couple of K of physical memory really -- the virtual space purge is obviously the critical thing. - To unsubscribe from this list: send the line "unsubscribe linux-arch" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html
