[PATCH 08/20] mm: Allow full handling of COW faults in ->fault handlers

2016-11-18 Thread Jan Kara
To allow full handling of COW faults add memcg field to struct vm_fault and a return value of ->fault() handler meaning that COW fault is fully handled and memcg charge must not be canceled. This will allow us to remove knowledge about special DAX locking from the generic fault code. Acked-by:

Re: [PATCH 08/20] mm: Allow full handling of COW faults in ->fault handlers

2016-10-17 Thread Ross Zwisler
On Tue, Sep 27, 2016 at 06:08:12PM +0200, Jan Kara wrote: > To allow full handling of COW faults add memcg field to struct vm_fault > and a return value of ->fault() handler meaning that COW fault is fully > handled and memcg charge must not be canceled. This will allow us to > remove knowledge