From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 19D5E19755B for ; Tue, 25 Nov 2025 03:27:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.129.124 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1764041236; cv=none; b=igOMB3XPmJ1xUoJ4n/mFqqD1BRH6GlRwo/mB90ORF7fLArtdHKH3fvhGGao5T052WIStUESsxjL9kTqlKPhcvAgj6mI0+ub2GmJ/4LxnTSgd9Sz6VH/C6zXkSCjRuprapAzDFUHmkL29ASYaigVsbMZ9lwKh4wwigg1K/7yOc3g= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1764041236; c=relaxed/simple; bh=KYE5/C0JBhx3vM/Qd7qmoOZU/0dzqPu/Uae7upy8C64=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=uO6J/UnLOJ5Op4FlzLJ7O7O5CVZNF3MQPvgcOpGw8VZa62b9E6P9xPGH5fknICDaX0WoPjd73gG0PokHE9wdo6UtelCvqDjGc81oDVCprwQnKp9rZCJoWCDdTn0QxGbJXipyZM6DRbqaENP/JoiLwCxq6ShBbxrD8Lqb1yyNiKU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b=ct8qewdl; arc=none smtp.client-ip=170.10.129.124 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="ct8qewdl" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1764041233; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Fq2sJVHn5K65A5wgA+jYbiI+7RyvEdnAtWFQVvmO5KM=; b=ct8qewdl35V+YmOaCCA/vWn5B20QnYr5+xZX/s8uq8sNbYy8fBVlYvwDQejjKUlHbTVjmj hDTCXgbnMrZc/gcip2GA45Q81Ut715aGgb76q8dQS7tursx0hNEmaTPsO2XF6YRheHdUmx ZB0Rs1qWOB2Xh93xwkLrekjeBUD4GzI= Received: from mx-prod-mc-08.mail-002.prod.us-west-2.aws.redhat.com (ec2-35-165-154-97.us-west-2.compute.amazonaws.com [35.165.154.97]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-589-KbZJDvdZNxyvv8-5j5oe5g-1; Mon, 24 Nov 2025 22:27:09 -0500 X-MC-Unique: KbZJDvdZNxyvv8-5j5oe5g-1 X-Mimecast-MFC-AGG-ID: KbZJDvdZNxyvv8-5j5oe5g_1764041227 Received: from mx-prod-int-01.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-01.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mx-prod-mc-08.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id 0DFA41800357; Tue, 25 Nov 2025 03:27:07 +0000 (UTC) Received: from fedora.redhat.com (unknown [10.72.112.53]) by mx-prod-int-01.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTP id D44E43003761; Tue, 25 Nov 2025 03:26:58 +0000 (UTC) From: Pingfan Liu To: cgroups@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Pingfan Liu , Tejun Heo , Waiman Long , Chen Ridong , Peter Zijlstra , Juri Lelli , Pierre Gondois , Ingo Molnar , Vincent Guittot , Dietmar Eggemann , Steven Rostedt , Ben Segall , Mel Gorman , Valentin Schneider Subject: [PATCHv2 0/2] sched/deadline: Fix potential race in dl_add_task_root_domain() Date: Tue, 25 Nov 2025 11:26:28 +0800 Message-ID: <20251125032630.8746-1-piliu@redhat.com> In-Reply-To: <20251119095525.12019-3-piliu@redhat.com> References: <20251119095525.12019-3-piliu@redhat.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 3.4.1 on 10.30.177.4 These two patches address the issue reported by Juri [1] (thanks!). The first removes an unnecessary comment, the second is the actual fix. @Tejun, while these could be squashed together, I kept them separate to maintain the one-patch-one-purpose rule. let me know if you'd like me to resend these in a different format, or feel free to adjust as needed. [1]: https://lore.kernel.org/lkml/aSBjm3mN_uIy64nz@jlelli-thinkpadt14gen4.remote.csb Pingfan Liu (2): sched/deadline: Remove unnecessary comment in dl_add_task_root_domain() sched/deadline: Fix potential race in dl_add_task_root_domain() kernel/sched/deadline.c | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) -- 2.49.0