Received: by 2002:a25:ef43:0:0:0:0:0 with SMTP id w3csp834325ybm; Fri, 29 May 2020 13:22:56 -0700 (PDT) X-Google-Smtp-Source: ABdhPJziS+CJKUgqp9yf9Bv2PIG3zpUgz6HIaK2u+inpEC8OObZ4TK+NhVyrttB+nhYi6+7VMxAA X-Received: by 2002:a17:906:49d9:: with SMTP id w25mr8693492ejv.65.1590783776116; Fri, 29 May 2020 13:22:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1590783776; cv=none; d=google.com; s=arc-20160816; b=WfKOdunTqInwd+gMEr498P2rfTngt2NaoWRd4PXibbzDEPx55RfUWCM6DkoR61b3lS JqpT8fpgJfkZ/PMahzcT0T/Ba0QBtOLtRB65ltf+94+WYTffx9y/zusXxLtNe1jR8cZx 0+WOLx0nTaRKOQZ9Nzmf1yLaewAkYP3KKtTwmcPZPL4K4TMWirbNBe6U5Q1CPoQaHfEO 1/xNNg/73zzbmytqopKZmXy3JwcCjw1KSKRwviMLYKxvtYHblAYLhxvzqLxPEPqxtzot XZ2vPFF8jNMTOzSG6y+Ofy4uuOpvTkjfv2LKzpjak21rBINevdzw/5nQB1Si4nX7YR2E +xHQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=cZAoPBZ5GxltMX66Hp611oXlcHnQvjlOfG4fyu8hV48=; b=jxwPOZtEttpKX9QpwUkpCdmIPSS/DsFOM61/rsebdAkBe/f7HmA0LZDQzODWvaxV84 /RZkfZPakZwSv1OX3jM2/q3+rYc5C/SV9qB+lMB1qS+1MdMNTSkTM6v+9KrOh5emifNa ywRN8bLxNJ5yfJKaOytBvz7QvQ0srsJl3Pb/PBU/aw+EYelMOWNs3sAzF++ODQ38agDU XahuqT4XLuSemKneZle9wrIWCbps4waRarYOjAopztGPmEnKkDNjY0riU2iSSu60NV83 /LH1EYUSwwxYOcR4dwIdnezWDKOBqbkDy4d4WqaeUqvUuQhHbAefIu0DC8MJETN1Xfng fziA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2020-01-29 header.b=QwXir7A9; 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=oracle.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id q25si1968585ejn.347.2020.05.29.13.22.32; Fri, 29 May 2020 13:22:56 -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=pass header.i=@oracle.com header.s=corp-2020-01-29 header.b=QwXir7A9; 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=oracle.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728086AbgE2UUh (ORCPT + 99 others); Fri, 29 May 2020 16:20:37 -0400 Received: from userp2130.oracle.com ([156.151.31.86]:56210 "EHLO userp2130.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726975AbgE2UUg (ORCPT ); Fri, 29 May 2020 16:20:36 -0400 Received: from pps.filterd (userp2130.oracle.com [127.0.0.1]) by userp2130.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 04TKC2gh052794; Fri, 29 May 2020 20:17:29 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=date : from : to : cc : subject : message-id : references : mime-version : content-type : in-reply-to; s=corp-2020-01-29; bh=cZAoPBZ5GxltMX66Hp611oXlcHnQvjlOfG4fyu8hV48=; b=QwXir7A9ZyhU/iRVvcwOU4nTZl3XZWDKFrFd9lyaTUKnG+4SemndF6de4DSoAUWJwvao DiRE6n9+LMDVnwYOVCrFrAcKp+e6x9cEZWMOcfYCWuTFW+YpVqinLnvCJrOyxXlZHSHJ wZuOyIFjIP4LMPxIvZwL6aAc+QjKzadjlYzI6JDKOi8eoEflQBDoyCKEi5dZa84frQb8 jmwQIYzHvWk0QWbGI75oHfb+GnlMdlOTzhP4UiyfGKzfd9sj9zpDuwTRYPk/Vfiw5Cit o3BfsJ30XhmcCG4GJbGZ0aDOeUQPYrdakRsycxHjmi+jFLIW7y4peFQg6lT0BH60cFw+ Cw== Received: from userp3020.oracle.com (userp3020.oracle.com [156.151.31.79]) by userp2130.oracle.com with ESMTP id 316u8rca4c-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Fri, 29 May 2020 20:17:29 +0000 Received: from pps.filterd (userp3020.oracle.com [127.0.0.1]) by userp3020.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 04TKDjmb028513; Fri, 29 May 2020 20:17:28 GMT Received: from aserv0122.oracle.com (aserv0122.oracle.com [141.146.126.236]) by userp3020.oracle.com with ESMTP id 31a9kuqeta-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 29 May 2020 20:17:28 +0000 Received: from abhmp0020.oracle.com (abhmp0020.oracle.com [141.146.116.26]) by aserv0122.oracle.com (8.14.4/8.14.4) with ESMTP id 04TKHPIH030039; Fri, 29 May 2020 20:17:25 GMT Received: from ca-dmjordan1.us.oracle.com (/10.211.9.48) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Fri, 29 May 2020 13:17:25 -0700 Date: Fri, 29 May 2020 16:17:50 -0400 From: Daniel Jordan To: Michel Lespinasse Cc: Andrew Morton , linux-mm , LKML , Peter Zijlstra , Laurent Dufour , Vlastimil Babka , Matthew Wilcox , Liam Howlett , Jerome Glisse , Davidlohr Bueso , David Rientjes , Hugh Dickins , Ying Han , Jason Gunthorpe , Daniel Jordan , John Hubbard Subject: Re: [PATCH v6 08/12] mmap locking API: add MMAP_LOCK_INITIALIZER Message-ID: <20200529201750.64dy7mu7gtkwltvu@ca-dmjordan1.us.oracle.com> References: <20200520052908.204642-1-walken@google.com> <20200520052908.204642-9-walken@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200520052908.204642-9-walken@google.com> User-Agent: NeoMutt/20180716 X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9636 signatures=668686 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 mlxscore=0 adultscore=0 mlxlogscore=974 malwarescore=0 spamscore=0 bulkscore=0 phishscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2004280000 definitions=main-2005290149 X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9636 signatures=668686 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 malwarescore=0 mlxscore=0 priorityscore=1501 spamscore=0 cotscore=-2147483648 suspectscore=0 phishscore=0 clxscore=1011 mlxlogscore=999 bulkscore=0 adultscore=0 lowpriorityscore=0 impostorscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2004280000 definitions=main-2005290149 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, May 19, 2020 at 10:29:04PM -0700, Michel Lespinasse wrote: > Define a new initializer for the mmap locking api. > Initially this just evaluates to __RWSEM_INITIALIZER as the API > is defined as wrappers around rwsem. > > Signed-off-by: Michel Lespinasse > Reviewed-by: Laurent Dufour > Reviewed-by: Vlastimil Babka Reviewed-by: Daniel Jordan