On Wed, Jan 30, 2008 at 11:50:26AM -0800, Christoph Lameter wrote:start/finish/begin/end/before/after? ;) I'd drop the 'int lock', you should skip the before/after if i_mmap_lock isn't null and offload it to the caller before taking the lock. At least for the "after" call that looks a few liner change, didn't figure out the "before" yet. Given the amount of changes that are going on in design terms to cover both XPMEM and GRE, can we split the minimal invalidate_page that provides an obviously safe and feature complete mmu notifier code for KVM, and merge that first patch that will cover KVM 100%, it will cover GRE 90%, and then we add invalidate_range_before/after in a separate patch and we close the remaining 10% for GRE covering ptep_get_and_clear or whatever else ptep_*? The mmu notifiers are made so that are extendible in backwards compatible way. I think invalidate_page inside ptep_clear_flush is the first fundamental block of the mmu notifiers. Then once the fundamental is in and obviously safe and feature complete for KVM, the rest can be added very easily with incremental patches as far as I can tell. That would be my preferred route ;) --
| debian developer | Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3 |
| Greg KH | [GIT PATCH] driver core patches against 2.6.24 |
| H. Peter Anvin | Re: [PATCH] x86: Construct 32 bit boot time page tables in native format. |
| Christoph Lameter | Re: [RFC 00/15] x86_64: Optimize percpu accesses |
git: | |
| Christoph Hellwig | Re: [PATCH 06/32] IGET: Mark iget() and read_inode() as being obsolete [try #2] |
| Jarek Poplawski | Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
| Gerrit Renker | [PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side) |
| David Miller | [GIT]: Networking |
