Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp2630206ybk; Mon, 18 May 2020 04:09:32 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxafv1bqipTijVC/ZR4SdfSapABaJXeZ/HKZ5Qq+uYuZSVxcBcSQfWEaygmtmRBfpKD9jwS X-Received: by 2002:aa7:d2d0:: with SMTP id k16mr10782447edr.272.1589800172154; Mon, 18 May 2020 04:09:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1589800172; cv=none; d=google.com; s=arc-20160816; b=hsMwMaD8vdRevIC1oMKqcB8a9+RWkvfsLwIGICN3EpAOmw4dGS/KgcrvU6Nw53ESEF Lob1VA0A4+uuu6GlD3YF3aiFQRF9nkdMKIhoJbU5lk4v2lkoguMkDyoJHyZ4CTMxO3qw jQaxIDs66Janc9lYyexiYPsL9B3MuCdudGbl8V7WVCOwwlIbE2REANXCDY2+2x9/GTDe oeK1RJFVZ+PIkRzYx2toxfEDW1blSS3vU1U2/MYH6b2nPphDuD4eTpFyP1U9bL9D7G4Z 1oNqTec74z1F9n5WCf9g72h19Q2pWr0uwhUXvAfdrJQMvh5Kui1wJfgcRr+4idYvZeHF uCdw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=87EYHs7zbwjINHaC1vy0iMlu+EruFbsQEtjQluUMvzo=; b=HManF26EZ8fgZJImJMVa77HsuawrxGfk/HMgbclBNsKo47HMf6O+0m9OFetC0uSDnK sly0zrbmfVD8O4UO33h+LE2mJS1aadmTzEQLl3qvHc0C60dzF0qwQt4liA/u6x7gZSq7 ELyV36pjgGfXEw6d+qwrUWSxOufFBwTGImVU1HJ55k2I9j0V66aIkSca3sGIYya160Uy BxTkdkftkkjMknxhn+lLvHKAvo6YzKzXoG28YsTLnXpIxeZsVWpaKNXwgbubjRdjZ1+j ABFyBwB/xMhnmTn7O5kR1iWTAz0PKexOzvYSLexGw6WYkO6D1wMmBtEVcFY6Gja31mHB j2YA== ARC-Authentication-Results: i=1; mx.google.com; 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 y5si4546698edu.171.2020.05.18.04.09.07; Mon, 18 May 2020 04:09:32 -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; 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 S1726739AbgERLH3 (ORCPT + 99 others); Mon, 18 May 2020 07:07:29 -0400 Received: from mx2.suse.de ([195.135.220.15]:46998 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726279AbgERLH2 (ORCPT ); Mon, 18 May 2020 07:07:28 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id 12E60AE00; Mon, 18 May 2020 11:07:30 +0000 (UTC) Subject: Re: [PATCH v5.5 10/10] mmap locking API: rename mmap_sem to mmap_lock To: Michel Lespinasse , Matthew Wilcox Cc: Andrew Morton , linux-mm , LKML , Peter Zijlstra , Laurent Dufour , Liam Howlett , Jerome Glisse , Davidlohr Bueso , David Rientjes , Hugh Dickins , Ying Han , Jason Gunthorpe , Daniel Jordan References: <20200422001422.232330-1-walken@google.com> <20200422001422.232330-11-walken@google.com> <20200422015829.GR5820@bombadil.infradead.org> <20200423015917.GA13910@bombadil.infradead.org> <20200424012612.GA158937@google.com> <20200424013958.GC158937@google.com> From: Vlastimil Babka Message-ID: <25ca9d8a-7c2a-b82e-f727-fcc940f19f2b@suse.cz> Date: Mon, 18 May 2020 13:07:26 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.7.0 MIME-Version: 1.0 In-Reply-To: <20200424013958.GC158937@google.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 4/24/20 3:39 AM, Michel Lespinasse wrote: > Rename the mmap_sem field to mmap_lock. Any new uses of this lock > should now go through the new mmap locking api. The mmap_lock is > still implemented as a rwsem, though this could change in the future. > > Signed-off-by: Michel Lespinasse Except gpu/drm/etnaviv/etnaviv_gem.c all direct users remain in mm or arch/fault code so that seems fine. Reviewed-by: Vlastimil Babka Any plan about all the code comments mentioning mmap_sem? :) Not urgent.