Message ID | 20210427161317.50682-16-peterx@redhat.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <SRS0=Z8q0=JY=kvack.org=owner-linux-mm@kernel.org> 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=-16.6 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham 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 5EE72C433ED for <linux-mm@archiver.kernel.org>; Tue, 27 Apr 2021 16:13:59 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 0441C61186 for <linux-mm@archiver.kernel.org>; Tue, 27 Apr 2021 16:13:58 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 0441C61186 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 9BFB06B0085; Tue, 27 Apr 2021 12:13:50 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 998C16B0087; Tue, 27 Apr 2021 12:13:50 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 7E9F96B0088; Tue, 27 Apr 2021 12:13:50 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0191.hostedemail.com [216.40.44.191]) by kanga.kvack.org (Postfix) with ESMTP id 5B1F46B0085 for <linux-mm@kvack.org>; Tue, 27 Apr 2021 12:13:50 -0400 (EDT) Received: from smtpin01.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay02.hostedemail.com (Postfix) with ESMTP id 18BD35DC9 for <linux-mm@kvack.org>; Tue, 27 Apr 2021 16:13:50 +0000 (UTC) X-FDA: 78078643020.01.AADC83B Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [216.205.24.124]) by imf26.hostedemail.com (Postfix) with ESMTP id 1E6C340002F7 for <linux-mm@kvack.org>; Tue, 27 Apr 2021 16:13:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1619540029; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Ene9hsYCt95YhP01hJ6SbYksc0YKGhtCroAdQwF4+A0=; b=Qfya5s0OZWKxyuJzQxM/FNH7mDRolw7NlzrqSOJS9kNcQde7XRSziKCKtADqgTRfZZMKJ+ kbZ5uBeYvZkOy83ynsvjBVEW1PLDdF/K3BjXiwTnq5MA6HKO/t4LGfaLj2SkVSHwT80m+q CVsWD9pvEUk/sC5WASeAaioTqxsVqec= Received: from mail-qv1-f70.google.com (mail-qv1-f70.google.com [209.85.219.70]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-425-ufMrHI9_PcK0LURyDENwog-1; Tue, 27 Apr 2021 12:13:47 -0400 X-MC-Unique: ufMrHI9_PcK0LURyDENwog-1 Received: by mail-qv1-f70.google.com with SMTP id x15-20020a0ce0cf0000b029019cb3e75c62so26247781qvk.15 for <linux-mm@kvack.org>; Tue, 27 Apr 2021 09:13:47 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=Ene9hsYCt95YhP01hJ6SbYksc0YKGhtCroAdQwF4+A0=; b=VeOsbonhSuvOKW3HC04m/5vPfjdW+ZgBuwfcZLD2H6rTUI50+mjGng7nR49oYI+pTc WsOxDmvNiQ4WLRVOfcnkG8u3OISkkVFvmqda++GZ6vlDHLje7iukDqRXRkmYBzB4WBnf 7U6YISk4CiZ86FIEISaLSdr5ovjuwI27gbsgX3XBgRP3DbQN+Vv1YkW1LxwcU68FuQGS Hfje3ooKp4l33jzFNG3p90Jl8pOUYsYhLwetRZB0G9pQdySLQcefi6n6pXR+agoIfKqe oI2Cop/2NjwFsxPGaCnSa2rBjT+hCSoN1WVAE4QmJaQT7c47QrGPUbb14W5/b5SzWb55 IHRg== X-Gm-Message-State: AOAM530wbV1ehMA128KYwydljHUazHhZccOVIct15MgELOb2f0BtC+m2 6XoXwQ4a3NTtlg/CMlTCgs9ZkLqHt/+ArQP5/dQ8nC4w7A+vUFnfiNUgla9f3uINJwQjwmiDR+O jjKXCAeTD59ZLLKdpikf66xEoPVwPlDaYDfcPCH8MZhYcf8IIIUb3EgrsY0O/ X-Received: by 2002:a0c:a98d:: with SMTP id a13mr24391198qvb.39.1619540026696; Tue, 27 Apr 2021 09:13:46 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyeBDEAolLFEvpC2nGq6dbXDcre41GVmLMNg+IbtaHl9JGzGvURbs1BlzbLWeFm2t7fJ9kOdQ== X-Received: by 2002:a0c:a98d:: with SMTP id a13mr24391159qvb.39.1619540026457; Tue, 27 Apr 2021 09:13:46 -0700 (PDT) Received: from xz-x1.redhat.com (bras-base-toroon474qw-grc-77-184-145-104-227.dsl.bell.ca. [184.145.104.227]) by smtp.gmail.com with ESMTPSA id v66sm3103621qkd.113.2021.04.27.09.13.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 27 Apr 2021 09:13:46 -0700 (PDT) From: Peter Xu <peterx@redhat.com> To: linux-mm@kvack.org, linux-kernel@vger.kernel.org Cc: Nadav Amit <nadav.amit@gmail.com>, Miaohe Lin <linmiaohe@huawei.com>, Mike Rapoport <rppt@linux.vnet.ibm.com>, Andrea Arcangeli <aarcange@redhat.com>, Hugh Dickins <hughd@google.com>, peterx@redhat.com, Jerome Glisse <jglisse@redhat.com>, Mike Kravetz <mike.kravetz@oracle.com>, Jason Gunthorpe <jgg@ziepe.ca>, Matthew Wilcox <willy@infradead.org>, Andrew Morton <akpm@linux-foundation.org>, Axel Rasmussen <axelrasmussen@google.com>, "Kirill A . Shutemov" <kirill@shutemov.name> Subject: [PATCH v2 15/24] mm/hugetlb: Drop __unmap_hugepage_range definition from hugetlb.h Date: Tue, 27 Apr 2021 12:13:08 -0400 Message-Id: <20210427161317.50682-16-peterx@redhat.com> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20210427161317.50682-1-peterx@redhat.com> References: <20210427161317.50682-1-peterx@redhat.com> MIME-Version: 1.0 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=peterx@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="US-ASCII" X-Rspamd-Server: rspam01 X-Rspamd-Queue-Id: 1E6C340002F7 X-Stat-Signature: ouxg3meyijpg9ixfoarosece81epdexy Received-SPF: none (redhat.com>: No applicable sender policy available) receiver=imf26; identity=mailfrom; envelope-from="<peterx@redhat.com>"; helo=us-smtp-delivery-124.mimecast.com; client-ip=216.205.24.124 X-HE-DKIM-Result: pass/pass X-HE-Tag: 1619540020-258788 Content-Transfer-Encoding: quoted-printable 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: <linux-mm.kvack.org> |
Series |
userfaultfd-wp: Support shmem and hugetlbfs
|
expand
|
diff --git a/include/linux/hugetlb.h b/include/linux/hugetlb.h index b92f25ccef588..eb134a75cad41 100644 --- a/include/linux/hugetlb.h +++ b/include/linux/hugetlb.h @@ -126,9 +126,6 @@ void __unmap_hugepage_range_final(struct mmu_gather *tlb, struct vm_area_struct *vma, unsigned long start, unsigned long end, struct page *ref_page); -void __unmap_hugepage_range(struct mmu_gather *tlb, struct vm_area_struct *vma, - unsigned long start, unsigned long end, - struct page *ref_page); void hugetlb_report_meminfo(struct seq_file *); int hugetlb_report_node_meminfo(char *buf, int len, int nid); void hugetlb_show_meminfo(void); @@ -362,13 +359,6 @@ static inline void __unmap_hugepage_range_final(struct mmu_gather *tlb, BUG(); } -static inline void __unmap_hugepage_range(struct mmu_gather *tlb, - struct vm_area_struct *vma, unsigned long start, - unsigned long end, struct page *ref_page) -{ - BUG(); -} - static inline vm_fault_t hugetlb_fault(struct mm_struct *mm, struct vm_area_struct *vma, unsigned long address, unsigned int flags)
Drop it in the header since it's only used in hugetlb.c. Suggested-by: Mike Kravetz <mike.kravetz@oracle.com> Signed-off-by: Peter Xu <peterx@redhat.com> --- include/linux/hugetlb.h | 10 ---------- 1 file changed, 10 deletions(-)