Received: by 2002:a05:6a10:d5a5:0:0:0:0 with SMTP id gn37csp3150282pxb; Sat, 9 Oct 2021 03:12:14 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzRseBc7AcDXKLW3vowaCbtm5jqUHfYALHhbSIkV/J1JCD4BiB5oN+q3ZW5Z9zwtrOmu06T X-Received: by 2002:a17:906:160a:: with SMTP id m10mr10351312ejd.259.1633774333834; Sat, 09 Oct 2021 03:12:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1633774333; cv=none; d=google.com; s=arc-20160816; b=hf+Sq1Wy7Al79XMcUCTQUyNzlZ811o0O0ecNkBX/UllwbuDxULPT3AYQ/UCZcoIvHA pVq8Sjl0ZPKKINcp8jyhY79jVOBZC9AmLLfrWJ4CFSXfk4uDawicptXTeoMxOVaaEUth 2RVNwFbRKGY3HCoICRneWxYeR4nPW2vbmFkPNd7QsHzTxoWc0YIJQw2uQ0N/QuDD5lNb J5yNCpuYUKzQD6+MfZ/rxkiZOOQmQZTMRNmYyYx54EgaECdgtmMElWjGSvpiiRQxU46v q5x4vnfX12C4kSh3qFxdVRrV0IDKJymZksaVn1PT1/tkpv1/MEOMOwIhpncTm+JRhNvw T8Hg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:robot-unsubscribe :robot-id:message-id:mime-version:references:in-reply-to:cc:subject :to:reply-to:sender:from:dkim-signature:dkim-signature:date; bh=qmJzqleer6PfgMWuGJUKMyt5bM4ktw50Bjl14lCMhX4=; b=FoDs7vvTFXAF3uI86Wj/p/ul89PxoII/kWNheoPoptlFZmug8pOgKjvEKG0uiDZt1Y sdSkPeKTiFrl66oyp+NnGYtKtu8dsdm39x8ew8eQjwsu3HRmoT9nLl63JsitDKqUPTae Y/68EK5oUs+VUou8iG/TdpGNMUUoKU06SnUxZ1YMbFB3lPxXhidtNjbP/h0LtIeG6xK0 XE7V3Fzferdefqwe/3H2AvxNcn+Wg2lLMo3bZ1BoY5qX/kz8b+fbHRCNdYp39YBDGeN0 NMITWsfdYwxvzC0ck9FjvNOV0w/ks9M9+HSkH68nQ0eU916MFjD0SwCq99RnMlEnue36 +9gw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=npVZjeff; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e header.b=2eIer+3V; 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=QUARANTINE dis=NONE) header.from=linutronix.de Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id dz15si4293321edb.601.2021.10.09.03.11.50; Sat, 09 Oct 2021 03:12:13 -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=pass header.i=@linutronix.de header.s=2020 header.b=npVZjeff; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e header.b=2eIer+3V; 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=QUARANTINE dis=NONE) header.from=linutronix.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S244647AbhJIKJy (ORCPT + 99 others); Sat, 9 Oct 2021 06:09:54 -0400 Received: from Galois.linutronix.de ([193.142.43.55]:49360 "EHLO galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S244612AbhJIKJL (ORCPT ); Sat, 9 Oct 2021 06:09:11 -0400 Date: Sat, 09 Oct 2021 10:07:13 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1633774034; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=qmJzqleer6PfgMWuGJUKMyt5bM4ktw50Bjl14lCMhX4=; b=npVZjeffyjJqHCYVqWWO91i1rrdfjV2FqqZEU2UTjAiL3kkHEAYjWWjFKuCyriX1wTxslM Pe/JaCt9ez3rjSdAcdIQFaag8hvot2/+RVAlSjsuuzqHa6aowcWfpHJfH5MPKmTPTNLsqu LwmSMoCWFEd+JAk4jV/IseB4Ptkvzmjm6cZX95JXNFspayCrPwRpjX9b8ijSQW2BYtqD5b j/NRRqVM3ohxaQm4PR5MkMeQ4HxWkKqnVg8Fl/zfU5e23MIddgZftiBNO3jhHjnO8se3iA vMvSqVwJ2QElSx4IVA9A0rxsM8FRSfvoPBprvxhLvFDe4bVN8XPGJU3uzs3bJw== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1633774034; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=qmJzqleer6PfgMWuGJUKMyt5bM4ktw50Bjl14lCMhX4=; b=2eIer+3VBM5bTbCb3uq//1wn5QoKHIKl01NdlScPTNjjjsXxuLPwI9JC8UJubXAme09evH Lvx2kBwTXZ9iwkBQ== From: "tip-bot2 for Peter Zijlstra" Sender: tip-bot2@linutronix.de Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: locking/core] futex: Rename __unqueue_futex() Cc: "Peter Zijlstra (Intel)" , andrealmeid@collabora.com, x86@kernel.org, linux-kernel@vger.kernel.org In-Reply-To: <20210923171111.300673-7-andrealmeid@collabora.com> References: <20210923171111.300673-7-andrealmeid@collabora.com> MIME-Version: 1.0 Message-ID: <163377403382.25758.2947549578305009632.tip-bot2@tip-bot2> Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The following commit has been merged into the locking/core branch of tip: Commit-ID: af92dcea186ed7bcd5cc013163ec47a8a135ee97 Gitweb: https://git.kernel.org/tip/af92dcea186ed7bcd5cc013163ec47a8a13= 5ee97 Author: Peter Zijlstra AuthorDate: Thu, 23 Sep 2021 14:10:55 -03:00 Committer: Peter Zijlstra CommitterDate: Thu, 07 Oct 2021 13:51:08 +02:00 futex: Rename __unqueue_futex() In order to prepare introducing these symbols into the global namespace; rename: s/__unqueue_futex/__futex_unqueue/g Signed-off-by: Peter Zijlstra (Intel) Signed-off-by: Andr=C3=A9 Almeida Signed-off-by: Peter Zijlstra (Intel) Reviewed-by: Andr=C3=A9 Almeida Link: https://lore.kernel.org/r/20210923171111.300673-7-andrealmeid@collabora= .com --- kernel/futex/core.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/kernel/futex/core.c b/kernel/futex/core.c index 63cf0da..88541fb 100644 --- a/kernel/futex/core.c +++ b/kernel/futex/core.c @@ -1470,12 +1470,12 @@ static int futex_lock_pi_atomic(u32 __user *uaddr, st= ruct futex_hash_bucket *hb, } =20 /** - * __unqueue_futex() - Remove the futex_q from its futex_hash_bucket + * __futex_unqueue() - Remove the futex_q from its futex_hash_bucket * @q: The futex_q to unqueue * * The q->lock_ptr must not be NULL and must be held by the caller. */ -static void __unqueue_futex(struct futex_q *q) +static void __futex_unqueue(struct futex_q *q) { struct futex_hash_bucket *hb; =20 @@ -1502,13 +1502,13 @@ static void mark_wake_futex(struct wake_q_head *wake_= q, struct futex_q *q) return; =20 get_task_struct(p); - __unqueue_futex(q); + __futex_unqueue(q); /* * The waiting task can free the futex_q as soon as q->lock_ptr =3D NULL * is written, without taking any locks. This is possible in the event * of a spurious wakeup, for example. A memory barrier is required here * to prevent the following store to lock_ptr from getting ahead of the - * plist_del in __unqueue_futex(). + * plist_del in __futex_unqueue(). */ smp_store_release(&q->lock_ptr, NULL); =20 @@ -1958,7 +1958,7 @@ void requeue_pi_wake_futex(struct futex_q *q, union fut= ex_key *key, { q->key =3D *key; =20 - __unqueue_futex(q); + __futex_unqueue(q); =20 WARN_ON(!q->rt_waiter); q->rt_waiter =3D NULL; @@ -2522,7 +2522,7 @@ retry: spin_unlock(lock_ptr); goto retry; } - __unqueue_futex(q); + __futex_unqueue(q); =20 BUG_ON(q->pi_state); =20 @@ -2539,7 +2539,7 @@ retry: */ static void futex_unqueue_pi(struct futex_q *q) { - __unqueue_futex(q); + __futex_unqueue(q); =20 BUG_ON(!q->pi_state); put_pi_state(q->pi_state);