Re: [ofa-general] [PATCH][RFC]: pte notifiers -- support for external page tables

Avi Kivity
2007-09-06T08:35:24Z

Gleb Natapov wrote:
> On Wed, Sep 05, 2007 at 07:38:48PM +0300, Avi Kivity wrote:
>
>> This sample patch adds a new mechanism, pte notifiers, that allows drivers
>> to register an interest in a changes to ptes. Whenever Linux changes a
>> pte, it will call a notifier to allow the driver to adjust the external
>> page table and flush its tlb.
>>
> How is this different from http://lwn.net/Articles/133627/? AFAIR the
> patch was rejected because there was only one user for it and it was
> decided that it would be better to maintain it out of tree for a while.
>

Your patch is more complete.

There are now at least three users: you, kvm, and newer Infiniband
HCAs. Care to resurrect the patch?

--
Any sufficiently difficult bug is indistinguishable from a feature.