[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200504200123.GA26002@ziepe.ca>
Date: Mon, 4 May 2020 17:01:23 -0300
From: Jason Gunthorpe <jgg@...pe.ca>
To: Alex Williamson <alex.williamson@...hat.com>
Cc: kvm@...r.kernel.org, linux-kernel@...r.kernel.org,
cohuck@...hat.com, peterx@...hat.com
Subject: Re: [PATCH 3/3] vfio-pci: Invalidate mmaps and block MMIO access on
disabled memory
On Mon, May 04, 2020 at 01:35:52PM -0600, Alex Williamson wrote:
> Ok, this all makes a lot more sense with memory_lock still in the
> picture. And it looks like you're not insisting on the wait_event, we
> can block on memory_lock so long as we don't have an ordering issue.
> I'll see what I can do. Thanks,
Right, you can block on the rwsem if it is ordered properly vs
mmap_sem.
Jason
Powered by blists - more mailing lists