Re: [kvm-devel] [PATCH] export notifier #1

From: Christoph Lameter
Date: Thu Jan 24 2008 - 15:08:07 EST


On Thu, 24 Jan 2008, Andrea Arcangeli wrote:

> I think you should consider if you can also build a rmap per-MM like
> KVM does and index it by the virtual address like KVM does.

Yes we have that.

If we have that then we do not need the mmu_notifier.
We could call it with a page parameter and then walk the KVM or XPmem
reverse map to directly find all the ptes we need to clear. There is no
need then to add a new field to the mm_struct.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/