[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] writable pagetables scalability issue


  • To: Rik van Riel <riel@xxxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • From: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
  • Date: Fri, 07 Dec 2007 17:47:40 +0000
  • Delivery-date: Fri, 07 Dec 2007 09:49:09 -0800
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>
  • Thread-index: Acg4+ULfgTxONKTsEdy7ewAX8io7RQ==
  • Thread-topic: [Xen-devel] writable pagetables scalability issue

On 7/12/07 17:06, "Rik van Riel" <riel@xxxxxxxxxx> wrote:

> Does anybody see issues with putting all of the writable pagetable
> operations under a read-write lock, with the code paths that change
> page table entries (mostly the fault handling) taking the lock in
> read mode, and the code paths that change the status of pages taking
> the lock in write mode?
> 
> That way we can guarantee that the writable page table pages do not
> change status while handling a fault (and we get concurrency), blocking
> out the write fault handling only while new page table pages are being
> created or destroyed.

I think we can probably just as easily strip out the big lock entirely from
the critical paths. It's not really needed much these days.

 -- Keir



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.