Messages in this thread | | | Date | Mon, 7 Jul 2008 23:03:49 +0200 | From | Andrea Arcangeli <> | Subject | Re: [patch 12/13] GRU Driver V3 - export is_uv_system(), zap_page_range() & follow_page() |
| |
On Mon, Jul 07, 2008 at 02:29:23PM -0500, Jack Steiner wrote: > The GRU is not actually very invasive into the VM. It will use the > new MMU-notifier callbacks. Aside from the need to translate > virt->physical & zap ptes belonging to the GRU, it works fine as a module. > No other core changes are needed. > > An additional advantage in keeping it as a module is that I expect it > to under a number of changes as the hardware matures. It is easier to > update the GRU if it is a module.
Agreed, same applies to kvm mmu.c which also is heavily modularized and hidden to the main Linux VM. The whole point of the mmu notifiers is to allow all those secondary MMUs to interact fully with the main Linux VM and get all the benefits from it, but without having to pollute and mess with it at every hardware change, plus allowing multiple secondary MMUs to work on the same "mm" simultaneously and transparently to each other.
| |