Re: [PATCH v2 10/11] x86/paravirt: move the Xen-only pv_mmu_ops under the PARAVIRT_XXL umbrella

Juergen Gross
2018-08-24T14:15:08Z

On 24/08/18 16:12, Peter Zijlstra wrote:
> On Mon, Aug 13, 2018 at 09:37:38AM +0200, Juergen Gross wrote:
>> struct pv_mmu_ops {
>> + /* TLB operations */
>> + void (*flush_tlb_user)(void);
>> + void (*flush_tlb_kernel)(void);
>> + void (*flush_tlb_one_user)(unsigned long addr);
>> + void (*flush_tlb_others)(const struct cpumask *cpus,
>> + const struct flush_tlb_info *info);
>> +
>> + /* Hook for intercepting the destruction of an mm_struct. */
>> + void (*exit_mmap)(struct mm_struct *mm);
>
> Right, so I just wrecked that for you by adding a new:
> tlb_remove_table virt function. But I don't suppose that's a difficult
> thing to fix up.

Right. This will stay outside of XXL, I think. :-)

Juergen