From patchwork Tue Jan 26 04:53:59 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicholas Piggin X-Patchwork-Id: 12045223 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=-8.5 required=3.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,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 6A81AC433E0 for ; Tue, 26 Jan 2021 04:54:15 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id BA6B622B51 for ; Tue, 26 Jan 2021 04:54:14 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org BA6B622B51 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id 2C74C8D0088; Mon, 25 Jan 2021 23:54:14 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 277C58D0076; Mon, 25 Jan 2021 23:54:14 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 1B5E08D0088; Mon, 25 Jan 2021 23:54:14 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0051.hostedemail.com [216.40.44.51]) by kanga.kvack.org (Postfix) with ESMTP id 05CF18D0076 for ; Mon, 25 Jan 2021 23:54:14 -0500 (EST) Received: from smtpin02.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay04.hostedemail.com (Postfix) with ESMTP id B71271EE6 for ; Tue, 26 Jan 2021 04:54:13 +0000 (UTC) X-FDA: 77746709586.02.army19_07104be2758b Received: from filter.hostedemail.com (10.5.16.251.rfc1918.com [10.5.16.251]) by smtpin02.hostedemail.com (Postfix) with ESMTP id 87F7710097AA0 for ; Tue, 26 Jan 2021 04:54:13 +0000 (UTC) X-HE-Tag: army19_07104be2758b X-Filterd-Recvd-Size: 3929 Received: from mail-pg1-f182.google.com (mail-pg1-f182.google.com [209.85.215.182]) by imf23.hostedemail.com (Postfix) with ESMTP for ; Tue, 26 Jan 2021 04:54:13 +0000 (UTC) Received: by mail-pg1-f182.google.com with SMTP id v19so10768074pgj.12 for ; Mon, 25 Jan 2021 20:54:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=URXlqBgoW7eAYBt11EAu/NCKWLHcYYQnmUuvvKGQmRM=; b=oAA75emX2LUkL0OriTWd/U4OgUv5Q8NkCuD80YRVzEoMy9o8aRNi5jCWD+Ka9vACj8 4o8+ltLoTjJgsgd0kW9wbkioFgOBzULbdd18GENLIAkBQtQtt8w4tAYkQLlyeQdAOCgD y/u98b4yRDcVSiBn9LW6Vqf0waUsLa+/YBMzqw7MztW/I/dR95Ppe3JZVrovV6IsHzMg aW5r1O5msM7ppOQLJ0bI5aRFp1jg7H6vl7wdtSUp9/Q/fCyX9AAXWhAwz3oWVZKyQ1xD xP/XzrmnIVMddeqg5OU/PLFMaHD8aWGHUFUuCMaB0UtfZxVrVpMTVYmtuopOm8Sk5GlT 9qTw== 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:mime-version :content-transfer-encoding; bh=URXlqBgoW7eAYBt11EAu/NCKWLHcYYQnmUuvvKGQmRM=; b=Zp+6Q9MdOnVgJuv4+7cw5FW/oFNWA4MAaOmsEr72pA3INAFi2YFjmJQeU1JQF6SwYa anU6IRMK/Zb5Rdu681y8OJySNpCUq8YeWdJUp0gro1ZRbJ7B6+gfsV7JaTCj8uoYNxUS qApAaw+CWZGzhKqVfY3sBt96nbR+LgQozcz57RvgOh6riPPpZ/Tu9H8nqZw+CPMSlros JQHU1YkUZ5CQx5zjN1OkOqyXh33tJr9GGjXqzJWWrkqkEFi9sMVXd8VoyuSJJ5uC0VnP mTZ4XoXByDrdyXo6zMKajTx6iHNbdxHBFFozzUjMhUYrO9XxWhyox8p+IOfTO2XAxajv tOug== X-Gm-Message-State: AOAM531rTjLyFOC/fBAm6L8XdkKfFsaIohMaPqrusFiPhfmnyq6hTYWA F8fcFoNT9o9fFdx4LUOeM7Ma0bGsgQY= X-Google-Smtp-Source: ABdhPJxt734s9oKLQGLg+sFcYM1CKLFzq+gXIDmgTQbVyqzDGVbfuYrrWYig5tQPBuLc/oK0V1L/dg== X-Received: by 2002:a63:cb01:: with SMTP id p1mr3973348pgg.406.1611636851909; Mon, 25 Jan 2021 20:54:11 -0800 (PST) Received: from bobo.ozlabs.ibm.com (192.156.221.203.dial.dynamic.acc50-nort-cbr.comindico.com.au. [203.221.156.192]) by smtp.gmail.com with ESMTPSA id w184sm18803382pgb.71.2021.01.25.20.54.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 25 Jan 2021 20:54:11 -0800 (PST) From: Nicholas Piggin To: linux-mm@kvack.org, Andrew Morton Cc: Nicholas Piggin , linux-kernel@vger.kernel.org, Christoph Hellwig Subject: [PATCH 0/5] mm/vmalloc: cleanup after hugepage series Date: Tue, 26 Jan 2021 14:53:59 +1000 Message-Id: <20210126045404.2492588-1-npiggin@gmail.com> X-Mailer: git-send-email 2.23.0 MIME-Version: 1.0 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: Christoph pointed out some overdue cleanups required after the huge page series, and I had some other comment and warning changes. Thanks, Nick Nicholas Piggin (5): mm/vmalloc: remove map_kernel_range kernel/dma: remove unnecessary unmap_kernel_range powerpc/xive: remove unnecessary unmap_kernel_range mm/vmalloc: remove unmap_kernel_range mm/vmalloc: improve allocation failure error messages Documentation/core-api/cachetlb.rst | 4 +- arch/arm64/mm/init.c | 2 +- arch/powerpc/kernel/isa-bridge.c | 4 +- arch/powerpc/kernel/pci_64.c | 2 +- arch/powerpc/mm/ioremap.c | 2 +- arch/powerpc/sysdev/xive/common.c | 4 - drivers/pci/pci.c | 2 +- include/linux/vmalloc.h | 19 +--- kernel/dma/remap.c | 1 - mm/internal.h | 7 ++ mm/percpu-vm.c | 7 +- mm/vmalloc.c | 164 ++++++++++++++-------------- 12 files changed, 104 insertions(+), 114 deletions(-)