Re: [RFC v3 6/7] shm: wait for pins to be released when sealing

2014-07-19 Thread David Herrmann
Hi On Wed, Jul 16, 2014 at 12:09 PM, Hugh Dickins wrote: > On Fri, 13 Jun 2014, David Herrmann wrote: > >> We currently fail setting SEAL_WRITE in case there're pending page >> references. This patch extends the pin-tests to wait up to 150ms for all >> references to be dropped. This is still not

Re: [RFC v3 6/7] shm: wait for pins to be released when sealing

2014-07-16 Thread Hugh Dickins
On Fri, 13 Jun 2014, David Herrmann wrote: > We currently fail setting SEAL_WRITE in case there're pending page > references. This patch extends the pin-tests to wait up to 150ms for all > references to be dropped. This is still not perfect in that it doesn't > account for harmless read-only pins,

[RFC v3 6/7] shm: wait for pins to be released when sealing

2014-06-13 Thread David Herrmann
We currently fail setting SEAL_WRITE in case there're pending page references. This patch extends the pin-tests to wait up to 150ms for all references to be dropped. This is still not perfect in that it doesn't account for harmless read-only pins, but it's much better than a hard failure. Signed-o