Thread (71 messages) 71 messages, 3 authors, 2016-10-20

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

From: Jan Kara <jack@suse.cz>
Date: 2016-10-17 09:04:51
Also in: linux-fsdevel, nvdimm

On Fri 14-10-16 14:31:47, Ross Zwisler wrote:
On Tue, Sep 27, 2016 at 06:08:09PM +0200, Jan Kara wrote:
quoted
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 <jack@suse.cz>
In looking at this I realized that vmf->entry is actually unused, as is the
entry we used to return back via __do_fault().  I guess they must have been in
there because at one point they were needed for dax_unlock_mapping_entry()?
Anyway, looking ahead I see patch 10 removes vmf->entry altogether. :)
Yes :).
Reviewed-by: Ross Zwisler <redacted>
Thanks.

								Honza
-- 
Jan Kara [off-list ref]
SUSE Labs, CR

--
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>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help