Use vm_fault structure to pass cow_page, page, and entry in and out of
the function. That reduces number of __do_fault() arguments from 4 to 1.
Acked-by: Kirill A. Shutemov
Reviewed-by: Ross Zwisler
Signed-off-by: Jan Kara
---
mm/memory.c | 67 ++
On Fri 14-10-16 14:31:47, Ross Zwisler wrote:
> On Tue, Sep 27, 2016 at 06:08:09PM +0200, Jan Kara wrote:
> > Use vm_fault structure to pass cow_page, page, and entry in and out of
> > the function. That reduces number of __do_fault() arguments from 4 to 1.
> >
> > Signed-off-by: Jan Kara
>
> In
On Tue, Sep 27, 2016 at 06:08:09PM +0200, Jan Kara wrote:
> Use vm_fault structure to pass cow_page, page, and entry in and out of
> the function. That reduces number of __do_fault() arguments from 4 to 1.
>
> Signed-off-by: Jan Kara
In looking at this I realized that vmf->entry is actually unus
Use vm_fault structure to pass cow_page, page, and entry in and out of
the function. That reduces number of __do_fault() arguments from 4 to 1.
Signed-off-by: Jan Kara
---
mm/memory.c | 53 +++--
1 file changed, 23 insertions(+), 30 deletions(-)
d