Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp771776pxb; Thu, 23 Sep 2021 10:13:16 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx+exKW0scBS5VfLGBkvy9U4DaNG8mtPxHgk/vLRxL9ybbfL1JSmugL7CPIvR/FmIQuuZeb X-Received: by 2002:a05:6638:1030:: with SMTP id n16mr5069500jan.36.1632417196061; Thu, 23 Sep 2021 10:13:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1632417196; cv=none; d=google.com; s=arc-20160816; b=sLI81QSnTwbeSOGo2d8CllvEfdJKgb/TYb53DQFb0mZuXG8lGs4DzddrT5D2ukela8 2ZANgYgKvYBiy/3b3E0taqsM1BYruvPGWip0DYBU2ZjbI2aAvLz/JRNxtY+YJ59NKHw1 v+18F08nZZbR6QEXsPyQRxaDh++UR0ChMHSdCqoA1YA9J6izfEkg1vfTgyqXrXMFt6+U mCzMKxsx74ADJUkTXGRdhTrfRkyVj8C49XgWVEDNLXT/MXNVIVoeQ3vBit6siv8ic0GX 5iMlYpbgfBf9eduSyUuNQKmTk31GqWqb9AJTUgFskIOJ935B4Cvqf9KcspXI4wBYkDSR 7aVg== 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; bh=aAUtVg8/Ej9uAhgG2umlm24kmkT9tMyIQQQNfJz/pt0=; b=I1u0j2DeVaPv75LV2SepE5GBPUWuQRqsdAdPWYP9hmBpRE1dEhX31+9o89mGfCc6Kf 33VkCfM136eUXc477+eesTiJAfTXO9j8sNEekpnRrk/zuMUC2lASlwqooFtq2HwX4bId Bkx4dIVKucBJVCgPQMenAndHvhPjCvr3BDU42yy6xLMaHVB2sdj4keCria7cD4Wqe5lJ xbrqAHfn9vr+ifEAdCUaP/kC85vIl3fzhGB9eUeLeOSkfDf4Tc901g9MxP83CaU1TnL/ KRxMWf8IJcyLgj0VQDmhIFoX9M7X3Lb/wnPi4jem5xB7FhnvwBaEHabyiUecWBcUP8gq ONog== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=collabora.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g19si8557691jam.54.2021.09.23.10.13.03; Thu, 23 Sep 2021 10:13:16 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242543AbhIWRNY (ORCPT + 99 others); Thu, 23 Sep 2021 13:13:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58066 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242511AbhIWRNS (ORCPT ); Thu, 23 Sep 2021 13:13:18 -0400 Received: from bhuna.collabora.co.uk (bhuna.collabora.co.uk [IPv6:2a00:1098:0:82:1000:25:2eeb:e3e3]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 35CF0C061757; Thu, 23 Sep 2021 10:11:46 -0700 (PDT) Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender: tonyk) with ESMTPSA id C74871F44601 From: =?UTF-8?q?Andr=C3=A9=20Almeida?= To: Thomas Gleixner , Ingo Molnar , Peter Zijlstra , Darren Hart , linux-kernel@vger.kernel.org, Steven Rostedt , Sebastian Andrzej Siewior Cc: kernel@collabora.com, krisman@collabora.com, linux-api@vger.kernel.org, libc-alpha@sourceware.org, mtk.manpages@gmail.com, Davidlohr Bueso , Arnd Bergmann , =?UTF-8?q?Andr=C3=A9=20Almeida?= Subject: [PATCH v2 04/22] futex: Rename futex_wait_queue_me() Date: Thu, 23 Sep 2021 14:10:53 -0300 Message-Id: <20210923171111.300673-5-andrealmeid@collabora.com> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20210923171111.300673-1-andrealmeid@collabora.com> References: <20210923171111.300673-1-andrealmeid@collabora.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Peter Zijlstra In order to prepare introducing these symbols into the global namespace; rename them: s/futex_wait_queue_me/futex_wait_queue/g Signed-off-by: Peter Zijlstra (Intel) Reviewed-by: André Almeida Signed-off-by: André Almeida --- kernel/futex/core.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/kernel/futex/core.c b/kernel/futex/core.c index 91f94b45c2e8..e70e81c61ea2 100644 --- a/kernel/futex/core.c +++ b/kernel/futex/core.c @@ -2787,12 +2787,12 @@ static int fixup_owner(u32 __user *uaddr, struct futex_q *q, int locked) } /** - * futex_wait_queue_me() - futex_queue() and wait for wakeup, timeout, or signal + * futex_wait_queue() - futex_queue() and wait for wakeup, timeout, or signal * @hb: the futex hash bucket, must be locked by the caller * @q: the futex_q to queue up on * @timeout: the prepared hrtimer_sleeper, or null for no timeout */ -static void futex_wait_queue_me(struct futex_hash_bucket *hb, struct futex_q *q, +static void futex_wait_queue(struct futex_hash_bucket *hb, struct futex_q *q, struct hrtimer_sleeper *timeout) { /* @@ -2919,7 +2919,7 @@ int futex_wait(u32 __user *uaddr, unsigned int flags, u32 val, ktime_t *abs_time goto out; /* futex_queue and wait for wakeup, timeout, or a signal. */ - futex_wait_queue_me(hb, &q, to); + futex_wait_queue(hb, &q, to); /* If we were woken (and unqueued), we succeeded, whatever. */ ret = 0; @@ -3347,7 +3347,7 @@ int handle_early_requeue_pi_wakeup(struct futex_hash_bucket *hb, * without one, the pi logic would not know which task to boost/deboost, if * there was a need to. * - * We call schedule in futex_wait_queue_me() when we enqueue and return there + * We call schedule in futex_wait_queue() when we enqueue and return there * via the following-- * 1) wakeup on uaddr2 after an atomic lock acquisition by futex_requeue() * 2) wakeup on uaddr2 after a requeue @@ -3427,7 +3427,7 @@ int futex_wait_requeue_pi(u32 __user *uaddr, unsigned int flags, } /* Queue the futex_q, drop the hb lock, wait for wakeup. */ - futex_wait_queue_me(hb, &q, to); + futex_wait_queue(hb, &q, to); switch (futex_requeue_pi_wakeup_sync(&q)) { case Q_REQUEUE_PI_IGNORE: -- 2.33.0