From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.4 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 95EE8C43331 for ; Thu, 26 Mar 2020 13:56:06 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 5B94C206E6 for ; Thu, 26 Mar 2020 13:56:06 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="L+7GuzXj" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 5B94C206E6 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=redhat.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id EA9536B000D; Thu, 26 Mar 2020 09:56:05 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id E61E76B000E; Thu, 26 Mar 2020 09:56:05 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id D48C36B0010; Thu, 26 Mar 2020 09:56:05 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0049.hostedemail.com [216.40.44.49]) by kanga.kvack.org (Postfix) with ESMTP id B99516B000D for ; Thu, 26 Mar 2020 09:56:05 -0400 (EDT) Received: from smtpin14.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay05.hostedemail.com (Postfix) with ESMTP id 96948181AD0A4 for ; Thu, 26 Mar 2020 13:56:05 +0000 (UTC) X-FDA: 76637662290.14.bird73_8c7809436061e X-HE-Tag: bird73_8c7809436061e X-Filterd-Recvd-Size: 2954 Received: from us-smtp-delivery-74.mimecast.com (us-smtp-delivery-74.mimecast.com [216.205.24.74]) by imf03.hostedemail.com (Postfix) with ESMTP for ; Thu, 26 Mar 2020 13:56:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1585230964; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=88eUjflRcwmSSWvPRfQg+6bwWoJ2678bQo929jibops=; b=L+7GuzXj+9xi1SVBg+NxFkZnx+qFxcmr3rK5+x5urGqzSy6LDC0zMA+lf7i7Rf7suvvBiw b+/5PPOYTO2nuCZwky5vMw5Fv7dObhi303utA7pO0jHJBv6xHtjaBiWpxvpBL6UYL7kN3+ tJStMnaK4wbAUXUvmf2S1XnVSBvK2sQ= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-175-AAWCI-RUNIWn_WJ9EQ3guA-1; Thu, 26 Mar 2020 09:56:00 -0400 X-MC-Unique: AAWCI-RUNIWn_WJ9EQ3guA-1 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 840648010FD; Thu, 26 Mar 2020 13:55:57 +0000 (UTC) Received: from localhost (ovpn-12-117.pek2.redhat.com [10.72.12.117]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 97151CDBC4; Thu, 26 Mar 2020 13:55:56 +0000 (UTC) Date: Thu, 26 Mar 2020 21:55:53 +0800 From: Baoquan He To: Markus Elfring Cc: Michel Lespinasse , Coccinelle , linux-mm@kvack.org, Andrew Morton , David Rientjes , Davidlohr Bueso , Hugh Dickins , Jerome Glisse , Laurent Dufour , Liam Howlett , Matthew Wilcox , Peter Zijlstra , Vlastimil Babka , Ying Han , linux-kernel@vger.kernel.org Subject: Re: [PATCH 4/8] mmap locking API: convert mmap_sem call sites missed by coccinelle Message-ID: <20200326135553.GM3039@MiWiFi-R3L-srv> References: <02c6dfa8-0e13-d1d7-e335-ad8f1a3ecb1f@web.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <02c6dfa8-0e13-d1d7-e335-ad8f1a3ecb1f@web.de> User-Agent: Mutt/1.10.1 (2018-07-13) X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: On 03/26/20 at 02:41pm, Markus Elfring wrote: > > Convert the last few remaining mmap_sem rwsem calls to use the new > > mmap locking API. These were missed by coccinelle for some reason > > I find such a software situation unfortunate. > Should the transformation approach be clarified any further? Should be this one: Documentation/dev-tools/coccinelle.rst