From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: MIME-Version: 1.0 In-Reply-To: <29908ce4-a8cf-bda6-4952-86c0afc3a9a2@linux.vnet.ibm.com> References: <152850182079.38390.8280340535691965744.stgit@dwillia2-desk3.amr.corp.intel.com> <152850183221.38390.15042297366983937566.stgit@dwillia2-desk3.amr.corp.intel.com> <29908ce4-a8cf-bda6-4952-86c0afc3a9a2@linux.vnet.ibm.com> From: Dan Williams Date: Mon, 11 Jun 2018 10:14:27 -0700 Message-ID: Subject: Re: [PATCH v4 02/12] device-dax: Cleanup vm_fault de-reference chains To: Laurent Dufour Cc: linux-nvdimm , Christoph Hellwig , Linux MM , linux-fsdevel , Jan Kara Content-Type: text/plain; charset="UTF-8" Sender: owner-linux-mm@kvack.org List-ID: On Mon, Jun 11, 2018 at 10:12 AM, Laurent Dufour wrote: > On 09/06/2018 01:50, Dan Williams wrote: >> Define a local 'vma' variable rather than repetitively de-referencing >> the passed in 'struct vm_fault *' instance. > > Hi Dan, > > Why is this needed ? > > I can't see the real benefit, having the vma deferenced from the vm_fault > structure is not obfuscating the code and it eases to follow the use of vmf->vma. > > Am I missing something ? No, and now that I take another look it's just noise. I'll drop it. Thanks for the poke.