Received: by 2002:a05:6358:bb9e:b0:b9:5105:a5b4 with SMTP id df30csp115125rwb; Fri, 2 Sep 2022 11:04:29 -0700 (PDT) X-Google-Smtp-Source: AA6agR4ZDKu5mYhKdCnz/PROU+26LRlRjXlbbujGG1Ow7Nw4D0JgHyBjMC/f9tBrMvCg32DPd1bH X-Received: by 2002:a63:5b20:0:b0:430:682:8fb5 with SMTP id p32-20020a635b20000000b0043006828fb5mr14296146pgb.451.1662141869053; Fri, 02 Sep 2022 11:04:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662141869; cv=none; d=google.com; s=arc-20160816; b=YgzCe2G8mQW0kJvBtwxeOG7ptQJHZdSTVqLc81yDI+QakKp8nfpLUaN+65oMRbN1Jh +SJX4KlHsEkEfvn1pSnidkKEF9j9lEReXK2lKMKGvkORR6wmL8rAX9OqUWcQ8bezR0pM qmpnXm2g6+70Q9XPRT55TKVvqxVSNjc73Dyx6/CPGaIV9HqaejYPWN4gvsCu7l8UKPn0 2JbGRQtKtaRFG4i5YECyT5TxyRKHUeTBUE54d/pJN1UDAHQOOEj6rq22fZnJys3U2B6e haGtJazcRlrXWLRfl+0pefZp8hxZN88yKlLTpRFSOZ3W+L7wtrH/WMyrYaWvxW1umfWu vslQ== 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=xx3OODAoe2L1pyBT+Z+A148H3M3nkVkXaFC95mRcN+w=; b=JDCgRV2/8wOT+jj3I6t9cVt5vnsdgHPALeZ+nnMsDLaEeW6TdnKQ5+lrxjdwB8ecQv dI6a9kym8GxOPld7KHskFnzlA162KDM/DXHQ1ieLscRViUcUIJYK6duCXT65xcqIaRBD SfqAY7ONaIQ3EN9+SusSCIkQ57Bfhu1BNKasfbZGp75gp5/E8ntoSj8UZp1h+55YPocg aeRrGd3NbiS3fcmkbZ5Z0KNnxSfdZzrj15X6puUlitxUV7jYUZVQUkXLU/YAjfBdkBSu H/NhQwyBcUgj8eMsdzLpKM7Y2ogdzM5LGahBjEsBHSdMt6NO0oNaXbOHOrotAFpGnLiA ncVw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=d4akwdQd; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e header.b="TiNR/o10"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id oj16-20020a17090b4d9000b001fb57e4ae38si2836200pjb.188.2022.09.02.11.04.16; Fri, 02 Sep 2022 11:04:29 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=d4akwdQd; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e header.b="TiNR/o10"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 S236977AbiIBR2e (ORCPT + 99 others); Fri, 2 Sep 2022 13:28:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49046 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235939AbiIBR2d (ORCPT ); Fri, 2 Sep 2022 13:28:33 -0400 Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7EA9A7C52E; Fri, 2 Sep 2022 10:28:31 -0700 (PDT) Date: Fri, 02 Sep 2022 17:28:28 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1662139709; 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=xx3OODAoe2L1pyBT+Z+A148H3M3nkVkXaFC95mRcN+w=; b=d4akwdQdU6qq8/VX6jpnY4MNdYdMvg86Zl1o3KxVD3JkPv2QsYMopZcS3VOkJTAEDBcaPS RjfMljR1RhW8tLyg+J6lyEp6uHDyvz36tUk+rardABDyTi0Dz88+cGiSsYeWBRdCxRLhiJ /QYrtDY6lhDH1Q/R5FlBazrdC0kwAfA77k+oFe451J/cd7U25nGKn8D+dnd/dAznOyOrG8 w9OA8GH51SAkIGxZddT2Ouf4i9DUyhUPB9+r8um7MlEPiKz78E7fQWF9P7HGTK/kxH54gk N5rE5Jc0bljCK+/2P36LUyIsRXdnfl4ZXrBgVs7GGoYbN7ujwBBjlI87dNjctw== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1662139709; 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=xx3OODAoe2L1pyBT+Z+A148H3M3nkVkXaFC95mRcN+w=; b=TiNR/o10XeABPafHAFqHjCp0uyJOObixQRtzFQ2Vc5c44hFlIKSZkCN2J2Z28T4BH9cvcf ngTST7plMSGxYVCQ== From: "tip-bot2 for Shang XiaoJing" Sender: tip-bot2@linutronix.de Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: sched/core] sched/deadline: Move __dl_clear_params out of dl_bw lock Cc: Shang XiaoJing , "Peter Zijlstra (Intel)" , Daniel Bristot de Oliveira , x86@kernel.org, linux-kernel@vger.kernel.org In-Reply-To: <20220827020911.30641-1-shangxiaojing@huawei.com> References: <20220827020911.30641-1-shangxiaojing@huawei.com> MIME-Version: 1.0 Message-ID: <166213970802.401.13891317892278711135.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: 7bit X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The following commit has been merged into the sched/core branch of tip: Commit-ID: 33f93525799fa3c841b2ba93a56b2bb32ab11dc9 Gitweb: https://git.kernel.org/tip/33f93525799fa3c841b2ba93a56b2bb32ab11dc9 Author: Shang XiaoJing AuthorDate: Sat, 27 Aug 2022 10:09:11 +08:00 Committer: Peter Zijlstra CommitterDate: Thu, 01 Sep 2022 11:19:55 +02:00 sched/deadline: Move __dl_clear_params out of dl_bw lock As members in sched_dl_entity are independent with dl_bw, move __dl_clear_params out of dl_bw lock. Signed-off-by: Shang XiaoJing Signed-off-by: Peter Zijlstra (Intel) Reviewed-by: Daniel Bristot de Oliveira Link: https://lore.kernel.org/r/20220827020911.30641-1-shangxiaojing@huawei.com --- kernel/sched/deadline.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/sched/deadline.c b/kernel/sched/deadline.c index 3bf4b12..d0fe6a2 100644 --- a/kernel/sched/deadline.c +++ b/kernel/sched/deadline.c @@ -431,8 +431,8 @@ static void task_non_contending(struct task_struct *p) sub_rq_bw(&p->dl, &rq->dl); raw_spin_lock(&dl_b->lock); __dl_sub(dl_b, p->dl.dl_bw, dl_bw_cpus(task_cpu(p))); - __dl_clear_params(p); raw_spin_unlock(&dl_b->lock); + __dl_clear_params(p); } return;