Message ID | 651efcf54f1d16467b12077b5366dfce587191d3.1641659630.git.luto@kernel.org (mailing list archive) |
---|---|
State | New |
Headers | show
Return-Path: <owner-linux-mm@kvack.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 258DEC4321E for <linux-mm@archiver.kernel.org>; Sat, 8 Jan 2022 16:44:27 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 4C5E06B0073; Sat, 8 Jan 2022 11:44:22 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 474606B0078; Sat, 8 Jan 2022 11:44:22 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 33C826B007B; Sat, 8 Jan 2022 11:44:22 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0219.hostedemail.com [216.40.44.219]) by kanga.kvack.org (Postfix) with ESMTP id 1786A6B0073 for <linux-mm@kvack.org>; Sat, 8 Jan 2022 11:44:22 -0500 (EST) Received: from smtpin17.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay02.hostedemail.com (Postfix) with ESMTP id C3AC598C2D for <linux-mm@kvack.org>; Sat, 8 Jan 2022 16:44:21 +0000 (UTC) X-FDA: 79007692722.17.A2F9310 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by imf19.hostedemail.com (Postfix) with ESMTP id 6304F1A0004 for <linux-mm@kvack.org>; Sat, 8 Jan 2022 16:44:21 +0000 (UTC) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id A222E60C33; Sat, 8 Jan 2022 16:44:20 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4E76AC36AE3; Sat, 8 Jan 2022 16:44:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1641660260; bh=bUrRFZAr479LQP/6WPwNI+9QSQKTdrq6o7ocsecDxbU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=HZ333cMtnVBA70AW2odanHwWzISHcbq2v8sHljXikH2mkdQZhlc9Ej6nG9o6YiAGU JAMax/oSICJXzkPkJkuLtc+lJpSFR/2IJ8d2CxOZ5yDhFB4iL16bCvdurC3VmLS8p0 XdRjpXEIJcrn7YP5BfOvRkEIK+ZwGDlLSRR8mPRAQUjlWfwMfBhz+/6dl7q6A2supO teM2enjF/rxtXkArCAH64SyMEzGfoqitT7V3KfrpNbbcjQz3B/hvJX+vBCmUW3zdvT uNVP5rvUGXLYhJaRgFM1pEHYiruMtHIx7LEotVnN3xVRE/aq/dSs1skvVkCzrJ3OwX tjaFoWDe+Q3Hg== From: Andy Lutomirski <luto@kernel.org> To: Andrew Morton <akpm@linux-foundation.org>, Linux-MM <linux-mm@kvack.org> Cc: Nicholas Piggin <npiggin@gmail.com>, Anton Blanchard <anton@ozlabs.org>, Benjamin Herrenschmidt <benh@kernel.crashing.org>, Paul Mackerras <paulus@ozlabs.org>, Randy Dunlap <rdunlap@infradead.org>, linux-arch <linux-arch@vger.kernel.org>, x86@kernel.org, Rik van Riel <riel@surriel.com>, Dave Hansen <dave.hansen@intel.com>, Peter Zijlstra <peterz@infradead.org>, Nadav Amit <nadav.amit@gmail.com>, Mathieu Desnoyers <mathieu.desnoyers@efficios.com>, Andy Lutomirski <luto@kernel.org> Subject: [PATCH 03/23] membarrier: Remove membarrier_arch_switch_mm() prototype in core code Date: Sat, 8 Jan 2022 08:43:48 -0800 Message-Id: <651efcf54f1d16467b12077b5366dfce587191d3.1641659630.git.luto@kernel.org> X-Mailer: git-send-email 2.33.1 In-Reply-To: <cover.1641659630.git.luto@kernel.org> References: <cover.1641659630.git.luto@kernel.org> MIME-Version: 1.0 X-Rspamd-Queue-Id: 6304F1A0004 X-Stat-Signature: 4z4wj5htomz8cx9erd4jxscubf4om4g6 Authentication-Results: imf19.hostedemail.com; dkim=pass header.d=kernel.org header.s=k20201202 header.b=HZ333cMt; spf=pass (imf19.hostedemail.com: domain of luto@kernel.org designates 139.178.84.217 as permitted sender) smtp.mailfrom=luto@kernel.org; dmarc=pass (policy=none) header.from=kernel.org X-Rspamd-Server: rspam10 X-HE-Tag: 1641660261-623652 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 |
mm, sched: Rework lazy mm handling
|
expand
|
diff --git a/include/linux/sched/mm.h b/include/linux/sched/mm.h index c256a7fc0423..0df706c099e5 100644 --- a/include/linux/sched/mm.h +++ b/include/linux/sched/mm.h @@ -350,13 +350,6 @@ extern void membarrier_exec_mmap(struct mm_struct *mm); extern void membarrier_update_current_mm(struct mm_struct *next_mm); #else -#ifdef CONFIG_ARCH_HAS_MEMBARRIER_CALLBACKS -static inline void membarrier_arch_switch_mm(struct mm_struct *prev, - struct mm_struct *next, - struct task_struct *tsk) -{ -} -#endif static inline void membarrier_exec_mmap(struct mm_struct *mm) { }