Message ID | 20230610101956.20592-1-yuehaibing@huawei.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp1461758vqr; Sat, 10 Jun 2023 03:30:55 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7bcF6IyfKInPZTmhQ8qPo2KF0K6gkRW60YN1+8O3UK4D5HHzN/rztPi0SM9fRUXUfdeqyF X-Received: by 2002:a05:6a21:170e:b0:10b:78d6:a2c8 with SMTP id nv14-20020a056a21170e00b0010b78d6a2c8mr3168032pzb.15.1686393055201; Sat, 10 Jun 2023 03:30:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686393055; cv=none; d=google.com; s=arc-20160816; b=XnIpVwzHVbtqR9iqBiRf1Z+ODHwIRGU3BiTC10ecDpWTqyxhZ1zCcR37GutMD3jOHe +yLot70rTVW/djFqhrvFFSKCNdTQXF2ATwC0dOjpB8IscBAoes5u2qmNMWvhGHjVNsjU UQyEiQ1hLjVX3UW6BHQPfHz7NTYcAc2nqDCFmyAAzxy7fZMKfE6xrQUvQYnHvB7fpGiz GPNwcLACxcKxAk7bjGvtA7mGfipGEjtkt9W9frZ4ZHWpOhYlb07iO2Sz+8Nd+SW/0bgX CFwmxnJS454mhHne+0PNTgfipcWNg0kch0JVg0LQKETujLzQ72uJhyCWuXnUkS6EWSWN gucA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:cc:to:from; bh=xeKTArepyz1wIxl42CjXQsJMndQ5PbwfQGKB9fiVT3I=; b=DX2fn+7hQYmViiD4zkUfaHxJjEnDHLiCM0sKXmzED+oj+R5nQ0DuKPHKUiwPPDMQcH upbp6w9jRmTFclve2GKzGqRsUtRJ4eGXRR7R7mNTOTsRRxsa5Vkrtf6RXzc0TCgM+KGp jp5cgbMj7/dAF+uE6qvfRQv49sAmzETs2B1mSidBmitPcjYK6HSs5ywbDGzI65Lc86XH jDppj0bGIjxCmsLIgOV/5eKpUttaRDfmNi0hHNQgdnRkZr/H8Cu0V2wxEFBQJ5zWrHQD BUnnRB4bYBIMoQiUnymaq80BJqPlEpAcNdNwk9ykMgNM2ezporF14E7tUsCCBcWkwpoV gNYw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id t63-20020a637842000000b0052c54de0299si427905pgc.637.2023.06.10.03.30.40; Sat, 10 Jun 2023 03:30:55 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230356AbjFJKUY (ORCPT <rfc822;rust.linux@gmail.com> + 99 others); Sat, 10 Jun 2023 06:20:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44582 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229639AbjFJKUX (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Sat, 10 Jun 2023 06:20:23 -0400 Received: from szxga01-in.huawei.com (szxga01-in.huawei.com [45.249.212.187]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D1100F5 for <linux-kernel@vger.kernel.org>; Sat, 10 Jun 2023 03:20:21 -0700 (PDT) Received: from canpemm500007.china.huawei.com (unknown [172.30.72.53]) by szxga01-in.huawei.com (SkyGuard) with ESMTP id 4QdYmd1d5DztQpw; Sat, 10 Jun 2023 18:17:53 +0800 (CST) Received: from localhost (10.174.179.215) by canpemm500007.china.huawei.com (7.192.104.62) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.23; Sat, 10 Jun 2023 18:20:18 +0800 From: YueHaibing <yuehaibing@huawei.com> To: <akpm@linux-foundation.org> CC: <linux-mm@kvack.org>, <linux-kernel@vger.kernel.org>, YueHaibing <yuehaibing@huawei.com> Subject: [PATCH -next] mm: Remove unused vma_init_lock() Date: Sat, 10 Jun 2023 18:19:56 +0800 Message-ID: <20230610101956.20592-1-yuehaibing@huawei.com> X-Mailer: git-send-email 2.10.2.windows.1 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.174.179.215] X-ClientProxiedBy: dggems706-chm.china.huawei.com (10.3.19.183) To canpemm500007.china.huawei.com (7.192.104.62) X-CFilter-Loop: Reflected X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1768311284243140632?= X-GMAIL-MSGID: =?utf-8?q?1768311284243140632?= |
Series |
[-next] mm: Remove unused vma_init_lock()
|
|
Commit Message
Yue Haibing
June 10, 2023, 10:19 a.m. UTC
commit c7f8f31c00d1 ("mm: separate vma->lock from vm_area_struct")
left this behind.
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
---
include/linux/mm.h | 1 -
1 file changed, 1 deletion(-)
Comments
On 10.06.23 12:19, YueHaibing wrote: > commit c7f8f31c00d1 ("mm: separate vma->lock from vm_area_struct") > left this behind. > > Signed-off-by: YueHaibing <yuehaibing@huawei.com> > --- > include/linux/mm.h | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/include/linux/mm.h b/include/linux/mm.h > index 0db09639dd2d..1970772c07bb 100644 > --- a/include/linux/mm.h > +++ b/include/linux/mm.h > @@ -725,7 +725,6 @@ struct vm_area_struct *lock_vma_under_rcu(struct mm_struct *mm, > > #else /* CONFIG_PER_VMA_LOCK */ > > -static inline void vma_init_lock(struct vm_area_struct *vma) {} > static inline bool vma_start_read(struct vm_area_struct *vma) > { return false; } > static inline void vma_end_read(struct vm_area_struct *vma) {} Reviewed-by: David Hildenbrand <david@redhat.com>
diff --git a/include/linux/mm.h b/include/linux/mm.h index 0db09639dd2d..1970772c07bb 100644 --- a/include/linux/mm.h +++ b/include/linux/mm.h @@ -725,7 +725,6 @@ struct vm_area_struct *lock_vma_under_rcu(struct mm_struct *mm, #else /* CONFIG_PER_VMA_LOCK */ -static inline void vma_init_lock(struct vm_area_struct *vma) {} static inline bool vma_start_read(struct vm_area_struct *vma) { return false; } static inline void vma_end_read(struct vm_area_struct *vma) {}