Re: [PATCH] mmu notifiers #v5

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Andrea Arcangeli
Date: Tuesday, February 5, 2008 - 3:26 pm

On Tue, Feb 05, 2008 at 02:06:23PM -0800, Christoph Lameter wrote:

Avoid the PT lock? The PT lock has to be taken anyway by the linux
VM.

"holding off new references until _end" = per-range mutex less scalar
and more expensive than the PT lock that has to be taken anyway.


"lightway way of locking" = mm-wide-mutex (not necessary at all if we
take advantage of the per-pte-scalar PT lock that has to be taken
anyway like in my patch)


KVM is also going to map a lot of stuff, but mapping involves mmap,
munmap/mremap/mprotect not. The size of mmap is irrelevant in both
approaches. optimizing do_exit by making the tlb-miss runtime slower
doesn't sound great to me and that's your patch does if you force GRU
to use it.
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[patch 0/3] [RFC] MMU Notifiers V4, Christoph Lameter, (Wed Jan 30, 9:57 pm)
[PATCH] mmu notifiers #v5, Andrea Arcangeli, (Thu Jan 31, 10:18 am)
Re: [PATCH] mmu notifiers #v5, Christoph Lameter, (Thu Jan 31, 1:18 pm)
Re: [PATCH] mmu notifiers #v5, Christoph Lameter, (Thu Jan 31, 4:09 pm)
Re: [PATCH] mmu notifiers #v5, Andrea Arcangeli, (Thu Jan 31, 4:28 pm)
Re: [PATCH] mmu notifiers #v5, Andrea Arcangeli, (Thu Jan 31, 4:41 pm)
Re: [PATCH] mmu notifiers #v5, Christoph Lameter, (Thu Jan 31, 6:37 pm)
Re: [PATCH] mmu notifiers #v5, Christoph Lameter, (Thu Jan 31, 6:44 pm)
Re: [PATCH] mmu notifiers #v5, Robin Holt, (Thu Jan 31, 7:23 pm)
Re: [PATCH] mmu notifiers #v5, Christoph Lameter, (Thu Jan 31, 7:26 pm)
Re: [PATCH] mmu notifiers #v5, Andrea Arcangeli, (Fri Feb 1, 5:00 am)
Re: [PATCH] mmu notifiers #v5, Andrea Arcangeli, (Fri Feb 1, 5:09 am)
Re: [PATCH] mmu notifiers #v5, Christoph Lameter, (Fri Feb 1, 12:23 pm)
Re: [PATCH] mmu notifiers #v5, Andrea Arcangeli, (Sat Feb 2, 7:17 pm)
Re: [PATCH] mmu notifiers #v5, Jack Steiner, (Sat Feb 2, 8:14 pm)
Re: [PATCH] mmu notifiers #v5, Andrea Arcangeli, (Sat Feb 2, 8:33 pm)
Re: [PATCH] mmu notifiers #v5, Christoph Lameter, (Mon Feb 4, 12:09 pm)
Re: [PATCH] mmu notifiers #v5, Andrea Arcangeli, (Mon Feb 4, 10:25 pm)
Re: [PATCH] mmu notifiers #v5, Christoph Lameter, (Mon Feb 4, 11:11 pm)
Re: [PATCH] mmu notifiers #v5, Andrea Arcangeli, (Tue Feb 5, 11:08 am)
Re: [PATCH] mmu notifiers #v5, Christoph Lameter, (Tue Feb 5, 11:17 am)
Re: [PATCH] mmu notifiers #v5, Andrea Arcangeli, (Tue Feb 5, 1:55 pm)
Re: [PATCH] mmu notifiers #v5, Christoph Lameter, (Tue Feb 5, 3:06 pm)
Re: [PATCH] mmu notifiers #v5, Robin Holt, (Tue Feb 5, 3:12 pm)
Re: [PATCH] mmu notifiers #v5, Andrea Arcangeli, (Tue Feb 5, 3:26 pm)
Re: [PATCH] mmu notifiers #v5, Christoph Lameter, (Tue Feb 5, 4:10 pm)
Re: [PATCH] mmu notifiers #v5, Andrea Arcangeli, (Tue Feb 5, 4:47 pm)
Re: [PATCH] mmu notifiers #v5, Christoph Lameter, (Tue Feb 5, 5:04 pm)