From patchwork Tue Dec 4 22:42:27 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: tip-bot for Kobe Wu X-Patchwork-Id: 10712651 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 4DC0317DB for ; Tue, 4 Dec 2018 22:42:35 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3E0682BF9F for ; Tue, 4 Dec 2018 22:42:35 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 317392BFBC; Tue, 4 Dec 2018 22:42:35 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A38FB2BF9F for ; Tue, 4 Dec 2018 22:42:34 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id A0F236B7112; Tue, 4 Dec 2018 17:42:33 -0500 (EST) Delivered-To: linux-mm-outgoing@kvack.org Received: by kanga.kvack.org (Postfix, from userid 40) id 994B66B7113; Tue, 4 Dec 2018 17:42:33 -0500 (EST) X-Original-To: int-list-linux-mm@kvack.org X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 835876B7114; Tue, 4 Dec 2018 17:42:33 -0500 (EST) X-Original-To: linux-mm@kvack.org X-Delivered-To: linux-mm@kvack.org Received: from mail-pl1-f199.google.com (mail-pl1-f199.google.com [209.85.214.199]) by kanga.kvack.org (Postfix) with ESMTP id 423876B7112 for ; Tue, 4 Dec 2018 17:42:33 -0500 (EST) Received: by mail-pl1-f199.google.com with SMTP id c14so13526388pls.21 for ; Tue, 04 Dec 2018 14:42:33 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-original-authentication-results:x-gm-message-state:date:sender :from:message-id:cc:reply-to:to:subject:git-commit-id:robot-id :robot-unsubscribe:mime-version:content-transfer-encoding :content-disposition:precedence; bh=JmZbSWYpMrrmlUBu1whyhsf+nWiGFxQOa0z8lWw/2mk=; b=aSXrss0CdmlYRIXSeciKMCu1iH7We+z/LaHOzbJV7Opp5aUSFvoTRqHjYoyZgnNITL HHKkRQO5u6Y4dHurvP70w5DIdhmL4vOsHtBHwNK5/Zmwlq5CtB68PiopfTflW+uO/Iys ZmAGt7FPa9EopkIsVpvgXYDyNALR6U4lMqQAqH1c+qTRU7OrH5y1sUKMLsbUzkyMiEOm WXVNwpSRtYxTD9JtjVmvx4Y3M4Gn1jYu9UnrwCb3ypBsewWdRA5WMxJ/1QLSzKFIXsge IsfqUXNGfp40V4o7VJgx7fhaFgWONM7J59ErY1pkeHpZ7rVlX8wi6ZxjoY6LcMyQ9llY YQqA== X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of tipbot@zytor.com designates 198.137.202.136 as permitted sender) smtp.mailfrom=tipbot@zytor.com X-Gm-Message-State: AA+aEWaGdbFwrBW2jvBj7xWOxHRvgh0vCy1jmtDuAmsfW1klGway/ZZ3 tJaMQWrBZfkgNQ8zihAP2GF4qCkXdqaNSSO0h/C4pEEqUZBjCShVuiWpHV+PhZIoUPHM0AnqoWE brWdCeBFcVm/sSv0kzhFAAaVc/CKpJOnqc3xFCWhknrlUSEUB598HxFOYhpUTVKuSGA== X-Received: by 2002:a63:f515:: with SMTP id w21mr18206376pgh.220.1543963352907; Tue, 04 Dec 2018 14:42:32 -0800 (PST) X-Google-Smtp-Source: AFSGD/V07EbB40/niGytHEvipMeW6qgMXWd5h4DmVnwH6VhB1Uf64Fjr2RENxFJeX8HqEeaOlNZ1 X-Received: by 2002:a63:f515:: with SMTP id w21mr18206344pgh.220.1543963352060; Tue, 04 Dec 2018 14:42:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543963352; cv=none; d=google.com; s=arc-20160816; b=QzuP7XSZf5fMsCwyrgXWywy/M7BURtWviiFJ2nJqCTzKMYyQia2F11uHCBGU6MdhAO MoxNQ5G++r57VTS/Ca4TuWqZ6R+7Op4oVzMInqNwx7xHJjZHAFJFcHQ8E29FP2e3dmDG lvtEjxLUoRtLFKIPZbXW/CwwxIcKHXyDhey1mHAquyESVZpmy+NybZpTz7AtbmQSBzkU CmF4RMXosK0CRsJNyUZGutE6BscFFdK0Lq2irjXFGfTlzPBsOO7GKsE4p0+yktVSyDOY tGUXpbAoEXEgCVUS1aRJOrh+IKqWQmZ0+WCboOc2sudGN24dtGHQxjwUscidjFmkenxO TH7w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=precedence:content-disposition:content-transfer-encoding :mime-version:robot-unsubscribe:robot-id:git-commit-id:subject:to :reply-to:cc:message-id:from:sender:date; bh=JmZbSWYpMrrmlUBu1whyhsf+nWiGFxQOa0z8lWw/2mk=; b=L/03MKeZ+i+brQ8VGxweO+QoVKvhlK4HSUpvkR9PNzmGJRW4e8F9d6V/euU3hTSXdC euBKYXfet/k1+JWy3rqsXOt0PJHTMWDxeEjMnO0ubQMMhJSXnj/h/eBW7mKxQF7Ag+T7 ELHKHP+TEZwLC6B6tJqU292t+v5u2RaqQ8puSVm678qjm1fgBD23q1sh63fGGYkM3E7S JgY7YGp5SXjhd5hhHQgzYcvh1DMOJrP3dVeBL8EoeeI/lXf4SXJm7xpfLY2/entAc3ih 8hgg+n3WKz9esftcoVinGaLYqkorEamJ4yZeHeB+uoVNmcA2HuY29B2VLPDK+geWXim/ jbwA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of tipbot@zytor.com designates 198.137.202.136 as permitted sender) smtp.mailfrom=tipbot@zytor.com Received: from terminus.zytor.com (terminus.zytor.com. [198.137.202.136]) by mx.google.com with ESMTPS id 205si18271426pfa.199.2018.12.04.14.42.31 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 04 Dec 2018 14:42:32 -0800 (PST) Received-SPF: pass (google.com: domain of tipbot@zytor.com designates 198.137.202.136 as permitted sender) client-ip=198.137.202.136; Authentication-Results: mx.google.com; spf=pass (google.com: domain of tipbot@zytor.com designates 198.137.202.136 as permitted sender) smtp.mailfrom=tipbot@zytor.com Received: from terminus.zytor.com (localhost [127.0.0.1]) by terminus.zytor.com (8.15.2/8.15.2) with ESMTPS id wB4MgSe91037746 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Tue, 4 Dec 2018 14:42:28 -0800 Received: (from tipbot@localhost) by terminus.zytor.com (8.15.2/8.15.2/Submit) id wB4MgRgh1037743; Tue, 4 Dec 2018 14:42:27 -0800 Date: Tue, 4 Dec 2018 14:42:27 -0800 X-Authentication-Warning: terminus.zytor.com: tipbot set sender to tipbot@zytor.com using -f From: "tip-bot for Paul E. McKenney" Message-ID: Cc: tglx@linutronix.de, akpm@linux-foundation.org, hpa@zytor.com, paulmck@linux.ibm.com, linux-mm@kvack.org, mingo@kernel.org, rostedt@goodmis.org Reply-To: linux-kernel@vger.kernel.org, tglx@linutronix.de, mingo@kernel.org, linux-mm@kvack.org, paulmck@linux.ibm.com, hpa@zytor.com, akpm@linux-foundation.org, rostedt@goodmis.org To: linux-tip-commits@vger.kernel.org Subject: [tip:core/rcu] main: Replace rcu_barrier_sched() with rcu_barrier() Git-Commit-ID: ba180314253947f2a6057e21a0f92b5c314454b1 X-Mailer: tip-git-log-daemon Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails MIME-Version: 1.0 Content-Disposition: inline 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: X-Virus-Scanned: ClamAV using ClamSMTP Commit-ID: ba180314253947f2a6057e21a0f92b5c314454b1 Gitweb: https://git.kernel.org/tip/ba180314253947f2a6057e21a0f92b5c314454b1 Author: Paul E. McKenney AuthorDate: Tue, 6 Nov 2018 18:58:01 -0800 Committer: Paul E. McKenney CommitDate: Tue, 27 Nov 2018 09:21:41 -0800 main: Replace rcu_barrier_sched() with rcu_barrier() Now that all RCU flavors have been consolidated, rcu_barrier_sched() is but a synonym for rcu_barrier(). This commit therefore replaces the former with the latter. Signed-off-by: Paul E. McKenney Cc: Andrew Morton Cc: "Steven Rostedt (VMware)" Cc: Thomas Gleixner Cc: --- init/main.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/init/main.c b/init/main.c index ee147103ba1b..a45486330243 100644 --- a/init/main.c +++ b/init/main.c @@ -1046,12 +1046,12 @@ static void mark_readonly(void) { if (rodata_enabled) { /* - * load_module() results in W+X mappings, which are cleaned up - * with call_rcu_sched(). Let's make sure that queued work is + * load_module() results in W+X mappings, which are cleaned + * up with call_rcu(). Let's make sure that queued work is * flushed so that we don't hit false positives looking for * insecure pages which are W+X. */ - rcu_barrier_sched(); + rcu_barrier(); mark_rodata_ro(); rodata_test(); } else