Received: by 2002:a05:6a10:a852:0:0:0:0 with SMTP id d18csp635074pxy; Fri, 30 Apr 2021 12:53:35 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx2SvH23ABInEu5k8zP112Now6kIkEZ7f54sOW66extVTseZNVwygq5Z1Bc4kfjjShULFh2 X-Received: by 2002:a62:86c5:0:b029:25f:4e63:223b with SMTP id x188-20020a6286c50000b029025f4e63223bmr6281748pfd.19.1619812415179; Fri, 30 Apr 2021 12:53:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1619812415; cv=none; d=google.com; s=arc-20160816; b=FhZC7I1egxzTahumGbL/40QVAr+jc3z0pbywuDKnr99wo2i7QtWmq4NgiNXavKUucJ y0Zld2AOSuT0bJdDZcYdDPj0ITx8LseBd2Z6M1iii+jYXUI2xgQhcQSeIGzKRX72NMsd vb3sBd5xFirPEKwxSA+GNSXQum2k1Hf8verd+nImWgKioBZp8I9KbIdTkPg5sJNR+mLo r9Ru0wqZ7DNN/lI/9OVq46P0GUvotVSgiIb+FzZWj5OTUjo30ApoAQfhfw0w5IDkVyK6 MjbHeK6bmIN8uZtzwEjuHeyy29G5NtNxwb4GOg3GkVWzyzmYH+Dw2gaRZ+tvKMM4mWOS vsFQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature:dkim-signature; bh=dcNLsbG8ESP+Ilb2xQiBJzAJk+o/uP7LiOGbYa0CH8k=; b=rL1RwvzStSdd+nAcgm2U+F0jAKcPtNkenv7Od8SKIrXxhQ8fod5Ohz0iGlbxfLQrJr LxSZ3+kPdO2WhDExXR8kbLOHeDgqOPAwp2bxWyQf+zHZ4jwQe6FgFO43ygGCGBEVlgen 3n6fJ9cQcvuXptGzFB71XAtiICydEMcH6hq6epJfPY88PQTpaT8jS956hNb9xCMhFNYC ABODemhLlsK3K+WYuD8UZZXpvotQWzd6igxnpFrZJqiIq4NQEmsacpZtUbLRvTpLWM+F VFtKY/l5mPvJMAbNKHx6txpKUsp+ct6XVMvAjazGgPc7/JD3D/KLo7LcPh5mCcQQhpb8 q4Kw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (no key) header.i=@lespinasse.org; dkim=pass (test mode) header.i=@lespinasse.org header.s=srv-14-rsa header.b=sqVkVXJ5; 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=lespinasse.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id j5si4434916pgb.340.2021.04.30.12.53.22; Fri, 30 Apr 2021 12:53:35 -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=neutral (no key) header.i=@lespinasse.org; dkim=pass (test mode) header.i=@lespinasse.org header.s=srv-14-rsa header.b=sqVkVXJ5; 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=lespinasse.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232495AbhD3Tx0 (ORCPT + 99 others); Fri, 30 Apr 2021 15:53:26 -0400 Received: from server.lespinasse.org ([63.205.204.226]:60983 "EHLO server.lespinasse.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232272AbhD3TxW (ORCPT ); Fri, 30 Apr 2021 15:53:22 -0400 DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=lespinasse.org; i=@lespinasse.org; q=dns/txt; s=srv-14-ed; t=1619812353; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-transfer-encoding : from; bh=dcNLsbG8ESP+Ilb2xQiBJzAJk+o/uP7LiOGbYa0CH8k=; b=iJHs7S2FhfzxsM5ZRN/CH8+fjzCuZRuo/hgPczw1mcsHrnYWGrcytzQk4NwGC92fRXUCU uiSidepjrq/aPuGBg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lespinasse.org; i=@lespinasse.org; q=dns/txt; s=srv-14-rsa; t=1619812353; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-transfer-encoding : from; bh=dcNLsbG8ESP+Ilb2xQiBJzAJk+o/uP7LiOGbYa0CH8k=; b=sqVkVXJ54YWrcpEgKimcRpZ3iFRXUGqdiCVvBF7rKz+gE60KC7qjif9ujbBFpfoVFiQD9 nkrCNg1nPyBt6kLu5GjQhXzrZYswefKB5kwcfLnqoKD6JeXsBBhz4m++FtCPxxbXt2MkB0B H4vAE8H4X/yUazmvbq5X5t1k6OSMDnyzb+Qn0GTQqojPRFSwAOfsi7ZRbNQwbQ1rAURWhT2 Wt37f3z59KF3ATgtogcYZt6dQ9JZbsxo8rikFyYLuDzhTSDiAr0jOu1WhRdu6LPgSDLcKqo 3KEYNVWT76EXbKMvU6p1Qalm4p/j7DCJh1E+8KrDqNbbC/+f2cVLunOLzknA== Received: from zeus.lespinasse.org (zeus.lespinasse.org [IPv6:fd00::150:0]) by server.lespinasse.org (Postfix) with ESMTPS id 1F95B16030B; Fri, 30 Apr 2021 12:52:33 -0700 (PDT) Received: by zeus.lespinasse.org (Postfix, from userid 1000) id 0036A19F520; Fri, 30 Apr 2021 12:52:32 -0700 (PDT) From: Michel Lespinasse To: Linux-MM , Linux-Kernel Cc: Laurent Dufour , Peter Zijlstra , Michal Hocko , Matthew Wilcox , Rik van Riel , Paul McKenney , Andrew Morton , Suren Baghdasaryan , Joel Fernandes , Andy Lutomirski , Michel Lespinasse Subject: [PATCH 01/29] mm: export dump_mm Date: Fri, 30 Apr 2021 12:52:02 -0700 Message-Id: <20210430195232.30491-2-michel@lespinasse.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20210430195232.30491-1-michel@lespinasse.org> References: <20210430195232.30491-1-michel@lespinasse.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This is necessary in order to allow VM_BUG_ON_MM to be used in modules (I encountered the issue when adding VM_BUG_ON_MM in mmap locking functions). Signed-off-by: Michel Lespinasse --- mm/debug.c | 1 + 1 file changed, 1 insertion(+) diff --git a/mm/debug.c b/mm/debug.c index 0bdda8407f71..979d505e2c6d 100644 --- a/mm/debug.c +++ b/mm/debug.c @@ -275,6 +275,7 @@ void dump_mm(const struct mm_struct *mm) mm->def_flags, &mm->def_flags ); } +EXPORT_SYMBOL(dump_mm); static bool page_init_poisoning __read_mostly = true; -- 2.20.1