On 31 Jul 2006, at 23:40, Zachary Amsden wrote: >> Yes, that's why we moved away from this approach before. But >> previously we did it for *all* pagetable updates, which was a pain. >> Doing it just for a few important cases, and having the hooks >> maintained in upstream Linux, makes this rather less of a headache. > > Cool. It sounds like the lazy mode hooks are exactly what you want > then? I wonder how it will interact with our late-pin/early-unpin model where we can directly write to pagetables before they are first used and also while they are being finally destroyed. It may be that if we use explicit batching and turn off that pinning logic we will not affect performance much, but we'll need to do some performance analysis. -- Keir