[PATCH 05/20] mm: Trim __do_fault() arguments

2016-11-18 Thread Jan Kara
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 ++

Re: [PATCH 05/20] mm: Trim __do_fault() arguments

2016-10-17 Thread Jan Kara
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

Re: [PATCH 05/20] mm: Trim __do_fault() arguments

2016-10-14 Thread Ross Zwisler
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

[PATCH 05/20] mm: Trim __do_fault() arguments

2016-09-27 Thread Jan Kara
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