From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Fri, 18 Nov 2016 13:22:10 +0300 From: "Kirill A. Shutemov" To: Jan Kara Cc: linux-mm@kvack.org, Ross Zwisler , Andrew Morton , linux-fsdevel@vger.kernel.org, linux-nvdimm@lists.01.org Subject: Re: [PATCH 01/20] mm: Join struct fault_env and vm_fault Message-ID: <20161118102210.GA9430@node> References: <1479460644-25076-1-git-send-email-jack@suse.cz> <1479460644-25076-2-git-send-email-jack@suse.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1479460644-25076-2-git-send-email-jack@suse.cz> Sender: owner-linux-mm@kvack.org List-ID: On Fri, Nov 18, 2016 at 10:17:05AM +0100, Jan Kara wrote: > Currently we have two different structures for passing fault information > around - struct vm_fault and struct fault_env. DAX will need more > information in struct vm_fault to handle its faults so the content of > that structure would become event closer to fault_env. Furthermore it > would need to generate struct fault_env to be able to call some of the > generic functions. So at this point I don't think there's much use in > keeping these two structures separate. Just embed into struct vm_fault > all that is needed to use it for both purposes. > > Signed-off-by: Jan Kara Acked-by: Kirill A. Shutemov -- Kirill A. Shutemov -- 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: email@kvack.org