Received: by 2002:a05:6a10:2785:0:0:0:0 with SMTP id ia5csp2306228pxb; Mon, 11 Jan 2021 06:31:16 -0800 (PST) X-Google-Smtp-Source: ABdhPJxCttJ0oU+mSWYbbtNvpd87AXDfn2gGqwqU0NYkRORQ+o/YAAQ9wHqk8nC7hp4Z1/BpI4op X-Received: by 2002:a17:906:af79:: with SMTP id os25mr11030532ejb.275.1610375476147; Mon, 11 Jan 2021 06:31:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610375476; cv=none; d=google.com; s=arc-20160816; b=RaUcjAt28agHLugSKA38vNOWbhp/RrkVKfWierUQmlsi1rwR5r7GnzJ1xPIhK32ZJy X0pP/HDnDB3V7lrVf29SmnRjKjkIZDmTlSEVnI/wUqcZATgyljfoAFFkN3OQe7LMUqO6 aLdqIcENqmyVgTm0xzvtp+YpKJTDIzPos85XHg9f1yJMJtMwVAYrA7NPdF3jYEO/rL0V ZyfcWFeebNdIsq2k76K78lyiRBJPK1vnrziq8O5DZ4k+zZ3H0p/u/2Qp9C942b5e2bMy tq/2jBwMpIM1peljKY8i8cb7wQytueBpgBdhcaxlPCy45PK/ngmZPvgoLnGWsPaJK/MP EJCQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=8afB7HEgTeTaOZhR8rh4kG/FycBnGh1ZFOu59skhVwI=; b=D1JHD0+TNnc4PnDVY43h0eGJpCCB6zkYBqz/CiNmpdOI8K7WBvSCZ/jSgCzplIWGZV kWazpErPEbc6ZRB6D5NEf4QgVd7jOxnKM03CJax3HBUrNeEtjmMZ9P17sJwxqZyoXiqJ bi2ZA+hwzfFJG/qDaVG3RFliCbyqCAi2+riNr95RjeBC9FmCwurX2TuWYaktTsNL0NLV 5jfAEaK+psq/eF9Fbp4D8BzOpgtBsxcGDA0akqUCclrMTyjvmTiM0XPj9jY0rf5dLhdO 3BgFcnlN2K2Zyn8ZejzSpC7A/6/PQMEbMbTTSLY1FJWiHH0wvXFaxwvIM3gNBsduyHet dA7Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=JER9akiF; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id q19si6443303ejx.617.2021.01.11.06.30.51; Mon, 11 Jan 2021 06:31:16 -0800 (PST) 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=pass header.i=@kernel.org header.s=k20201202 header.b=JER9akiF; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732547AbhAKO2F (ORCPT + 99 others); Mon, 11 Jan 2021 09:28:05 -0500 Received: from mail.kernel.org ([198.145.29.99]:40168 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731825AbhAKO2F (ORCPT ); Mon, 11 Jan 2021 09:28:05 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 737C122473; Mon, 11 Jan 2021 14:27:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1610375244; bh=NeQZAI3Se6XnjBLgTKT5kwYcHmcn0zV0JGG0txZc5HA=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=JER9akiF6aHhzPy1WYWZfp7WhPw4SxmNlvZhH5vN2GhTQ7jRed4db3ImU5rXEjSAi mrtqazmvZoUKQYJ9rFF16yAtoJmcdcjKv94VpMeTNUBixIL/eKT9Q2eYQfNGyCLdWa ThQIRnU9rwrPz5kP9b9pMaJQbvY6mLvtMr7e9jw2w3oqNZ5G//M+zuGWwJ66JMBZds AlIYa//Thf6u+BxkDvys78gi06c3TfomSX5ht7+7Bxzulx9+ZcNGgVGXPb+XP/b7Mk pbB5QdbwqOkAiACEYea5ccWGwDTAu79n8qKVvSdGAWb7rC4ZTAm+3HZSr1gvm7iTpH 47AQpo6KJEprA== Date: Mon, 11 Jan 2021 14:27:19 +0000 From: Will Deacon To: "Kirill A. Shutemov" Cc: linux-kernel@vger.kernel.org, linux-mm@kvack.org, linux-arm-kernel@lists.infradead.org, Catalin Marinas , Jan Kara , Minchan Kim , Andrew Morton , "Kirill A . Shutemov" , Linus Torvalds , Vinayak Menon , Hugh Dickins , kernel-team@android.com Subject: Re: [PATCH v2 1/3] mm: Cleanup faultaround and finish_fault() codepaths Message-ID: <20210111142718.GC7642@willie-the-truck> References: <20210108171517.5290-1-will@kernel.org> <20210108171517.5290-2-will@kernel.org> <20210111142620.ylv3ccrsubef62mi@box> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210111142620.ylv3ccrsubef62mi@box> User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jan 11, 2021 at 05:26:20PM +0300, Kirill A. Shutemov wrote: > On Fri, Jan 08, 2021 at 05:15:15PM +0000, Will Deacon wrote: > > diff --git a/include/linux/mm.h b/include/linux/mm.h > > index ecdf8a8cd6ae..801dd99f733c 100644 > > --- a/include/linux/mm.h > > +++ b/include/linux/mm.h > > @@ -542,8 +542,8 @@ struct vm_fault { > > * is not NULL, otherwise pmd. > > */ > > pgtable_t prealloc_pte; /* Pre-allocated pte page table. > > - * vm_ops->map_pages() calls > > - * alloc_set_pte() from atomic context. > > + * vm_ops->map_pages() sets up a page > > + * table from from atomic context. > > * do_fault_around() pre-allocates > > * page table to avoid allocation from > > * atomic context. > > The typo Matthew has pointed out: > > diff --git a/include/linux/mm.h b/include/linux/mm.h > index d3d4e307fa09..358fc8616d8b 100644 > --- a/include/linux/mm.h > +++ b/include/linux/mm.h > @@ -535,7 +535,7 @@ struct vm_fault { > */ > pgtable_t prealloc_pte; /* Pre-allocated pte page table. > * vm_ops->map_pages() sets up a page > - * table from from atomic context. > + * table from atomic context. > * do_fault_around() pre-allocates > * page table to avoid allocation from > * atomic context. Cheers, fixed locally and will include for v3! Will