Re: [PATCH v5 1/2] mm, dax: make pmd_fault() and friends to be the same as fault()

2017-01-05 Thread Dave Jiang
On 12/19/2016 11:27 AM, Dave Jiang wrote: > Instead of passing in multiple parameters in the pmd_fault() handler, > a vmf can be passed in just like a fault() handler. This will simplify > code and remove the need for the actual pmd fault handlers to allocate a > vmf. Related functions are also m

[PATCH v5 1/2] mm, dax: make pmd_fault() and friends to be the same as fault()

2016-12-19 Thread Dave Jiang
Instead of passing in multiple parameters in the pmd_fault() handler, a vmf can be passed in just like a fault() handler. This will simplify code and remove the need for the actual pmd fault handlers to allocate a vmf. Related functions are also modified to do the same. Signed-off-by: Dave Jiang