Re: swapping with MMU Notifiers V2

Andrea Arcangeli
2008-01-29T17:49:55Z

On Tue, Jan 29, 2008 at 07:04:59PM +0200, Avi Kivity wrote:
> Andrea Arcangeli wrote:
>> Didn't realize s390 doesn't need those at all. Do you think
>> mmu_notifier.h should also go in asm/mmu_notifier? We can always move
>> them there later after merging with some compat code if needed.
>>
>
> s390 is the odd bird, not x86, so I'd like a solution that doesn't involve

;)

> duplication for x86, ppc, and ia64.

There is a few lines of duplication yes, the bulk of the code was
already only in x86.c and it has to stay there. It's only the few
lines of registration we're talking about it, so I don't think the
#ifdef would save enough.