Re: [kvm-devel] [PATCH 0/3] add support for dynamicly allocation ofmmu pages.

2007-08-19 Thread Avi Kivity
Dor Laor wrote: The idea to shift/share mmu cache memory between guests is great. You do need to take care of proper inter vm locking (kvm_lock lock, don't mix the kvm-lock). No, we need to stay away from kvm_lock on anything resembling a hot path. -- error compiling committee.c: too

Re: [kvm-devel] [PATCH 0/3] add support for dynamicly allocation ofmmu pages.

2007-08-18 Thread Dor Laor
The idea to shift/share mmu cache memory between guests is great. You do need to take care of proper inter vm locking (kvm_lock lock, don't mix the kvm-lock). Combining the idea with LRU replacment algorithm and a rebalance timer for the mmu cache can be a winning combination. -- Dor. Btw: Later