Re: [PATCH v3 1/7] mm: allow drivers to prevent new writable mappings

2014-07-19 Thread David Herrmann
Hi Hugh On Wed, Jul 9, 2014 at 10:55 AM, Hugh Dickins wrote: > On Fri, 13 Jun 2014, David Herrmann wrote: > >> The i_mmap_writable field counts existing writable mappings of an >> address_space. To allow drivers to prevent new writable mappings, make >> this counter signed and prevent new writabl

Re: [PATCH v3 1/7] mm: allow drivers to prevent new writable mappings

2014-07-09 Thread Hugh Dickins
On Fri, 13 Jun 2014, David Herrmann wrote: > The i_mmap_writable field counts existing writable mappings of an > address_space. To allow drivers to prevent new writable mappings, make > this counter signed and prevent new writable mappings if it is negative. > This is modelled after i_writecount a

[PATCH v3 1/7] mm: allow drivers to prevent new writable mappings

2014-06-13 Thread David Herrmann
The i_mmap_writable field counts existing writable mappings of an address_space. To allow drivers to prevent new writable mappings, make this counter signed and prevent new writable mappings if it is negative. This is modelled after i_writecount and DENYWRITE. This will be required by the shmem-se