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

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Avi Kivity <public-avi-atKUWr5tajBWk0Htik3J/w@...>
Cc: <public-linux-kernel-u79uwXL29TY76Z2rM5mHXA@...>, <public-linux-mm-Bw31MaZKKs3YtjvyW6yDsg@...>, <public-kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@...>, <public-general-ZwoEplunGu1OwGhvXhtEPSCwEArCW2h5@...>
Date: Thursday, September 6, 2007 - 7:39 am

Avi Kivity <avi-atKUWr5tajBWk0Htik3J/w@public.gmane.org> writes:

Sounds like a locking horror to me.  To do anything with page tables
you need locks. Both for the kernel page tables and for your new tables.

What happens when people add all
things of complicated operations in these notifiers? That will likely
happen and then everytime you change something in VM code they 
will break. This has the potential to increase the cost of maintaining
VM code considerably, which would be a bad thing.

This is quite different from paravirt ops because low level pvops
can typically run lockless by just doing some kind of hypercall directly.
But that won't work for maintaining your custom page tables.

-Andi

-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH][RFC] pte notifiers -- support for external page ..., Andi Kleen, (Thu Sep 6, 7:39 am)