Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp3033682pxa; Tue, 18 Aug 2020 05:03:14 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyFCqpD5Zvgtbk0ojOGvJrmD7dVfPvzkxKzP5S39nuFBxBxqKjJ7BX/bqiXPubRJXB7X8Du X-Received: by 2002:a17:906:f24c:: with SMTP id gy12mr19332504ejb.275.1597752193752; Tue, 18 Aug 2020 05:03:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1597752193; cv=none; d=google.com; s=arc-20160816; b=MpWAf84YoS+VmBkpivQV/Bqmc/g57YY+WDFmIc6i2/zyRI8ZEUINWtALWielhlFi8h ghxYqmLzJ9r35b8rBR8EFgbL/epE1Z3TutyO03oc2baRb8dO52SqpaBdfNULR8tWopXQ aPU811SfKYV2Iot82bc7W1B5alB2Ae1iOW+Y8S8CENbZS9yNgcnzYYVPZ83P8QG3wiZb sq0bSTL51Sz/vZ/niIK1D1HFq0YKNg8dLCHrvQRI/TEtIMBSBqdWu8eEl5uH80IvqYdk zv2OjgsTkKIgn3LRo9uvU2CgbvWrRq9Ucf/V/3CWc32KE0YA22PfoACDYqtdI5GhkK6L jHHA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=A5dBVeUaGuDS9BOAjFaG0N4VE7azEDM1MpiW+1vUsN4=; b=BBhJ38a0fnoQFjYjVH3gJJL2IVuPCy14YXqaILtwmZk/uYmpbp5j+A0yx6qCaN47og DvZJ55s3KO0HlMqCib2WF/j3AXr5jQRIGR0yapvLNZFwMk8yMh6A+1dITLMUjpOPEyUl 00gH6u78R5NWJRZCCcVsIWhNxvdrpS0MtLf/kCMwYAx9A1cwFXBub6veWyr/xGYe5TSX 0FUOvtuF+n8JM5ggurkRcA3sAeJs3MRy86AMmlwvCxgTkQwRAUDR4Cyq/y1mllytnxgN Upb0FYCvLSByOWIsLGjY2BZC3bZWrHO4w9gaSnlpsYvsgrgP5Q4X/hFA9FAaqYKpE5yx Ps5A== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=casper.20170209 header.b=klEZeo7x; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id e6si12565737edr.328.2020.08.18.05.02.49; Tue, 18 Aug 2020 05:03:13 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=fail header.i=@infradead.org header.s=casper.20170209 header.b=klEZeo7x; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726585AbgHRMBu (ORCPT + 99 others); Tue, 18 Aug 2020 08:01:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56496 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726473AbgHRMBl (ORCPT ); Tue, 18 Aug 2020 08:01:41 -0400 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 50120C061389 for ; Tue, 18 Aug 2020 05:01:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=A5dBVeUaGuDS9BOAjFaG0N4VE7azEDM1MpiW+1vUsN4=; b=klEZeo7xSBiKClX9F8wPdz2dsx Q+agj6npvKFx8VFJQlKhi0yNN7Vq3TXCAfkJDG8OzwxqVzXbJ9+qq85hr1jP/UZkssc0LVY04EKtk XxQQORf6keyEPSEgPViNub8R8UchKlGQKvxTGpABgaU3a+Y0tn8q1jhLH4aMgkwWYUi5ib+f49l2B rMVtn+SaGpiJh0LHnp050UYF0fza8ZvnMxi6PbewAHEfZiFiw9TfkLIXYS0Mq4F8wH1fye6JR2Eb3 CBi6jDemIEpEx00RkJ7ILAzFtnTKmwvWC2rJehHq9IsG90tKsKvUtBu3DbM2EfTf9WnXWi6ILrlw+ w9zEgI1A==; Received: from willy by casper.infradead.org with local (Exim 4.92.3 #3 (Red Hat Linux)) id 1k80J6-0006xe-M7; Tue, 18 Aug 2020 12:01:37 +0000 Date: Tue, 18 Aug 2020 13:01:36 +0100 From: Matthew Wilcox To: yanfei.xu@windriver.com Cc: akpm@linux-foundation.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org Subject: Re: [PATCH] mm/memory.c: Replace vmf->vma with variable vma Message-ID: <20200818120136.GN17456@casper.infradead.org> References: <20200818084607.37616-1-yanfei.xu@windriver.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200818084607.37616-1-yanfei.xu@windriver.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Aug 18, 2020 at 04:46:07PM +0800, yanfei.xu@windriver.com wrote: > From: Yanfei Xu > > The code has declared a vma_struct named vma which is assigned a > value of vmf->vma. Thus, use variable vma directly here. > > Signed-off-by: Yanfei Xu Reviewed-by: Matthew Wilcox (Oracle)