[PATCH 10/15] mm: Factor out common parts of write fault handling