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

From
Kirill A. Shutemov <hidden>
Date
2016-11-15 22:20:55
Also in
linux-fsdevel, nvdimm
Reply to
Jan Kara, 2016-11-04
On Fri, Nov 04, 2016 at 05:25:04AM +0100, 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 about special DAX locking from the generic fault code.

Reviewed-by: Ross Zwisler <redacted>
Signed-off-by: Jan Kara <jack@suse.cz>
Acked-by: Kirill A. Shutemov <redacted>

-- 
 Kirill A. Shutemov

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
Thread (56 messages) 56 messages, 4 authors, last reply 2016-11-17
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help