Received: by 2002:a05:7412:8521:b0:e2:908c:2ebd with SMTP id t33csp1028916rdf; Sat, 4 Nov 2023 04:08:26 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGbJocfh0AeZPqqLEyKMPKZMxG2QaXoHvedWhOMMysKgxR7bos8PaeaIp8Lvk5LTouX6X4k X-Received: by 2002:a05:6358:1203:b0:168:ecf1:784b with SMTP id h3-20020a056358120300b00168ecf1784bmr26034534rwi.19.1699096106002; Sat, 04 Nov 2023 04:08:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1699096105; cv=none; d=google.com; s=arc-20160816; b=onwDxknGAh0BbJBXSyRhLXB83wmWjH9m2mN7g0m2ke4lvqCLQtr2FUz2nrxeOWzr02 NFoQzQeXOp39Xem5sxDlcY0ALDo7ZfjL6jcbBMtK4d/6KNT4/xA8JggQ2JwIuE3KC97J D0r3EB6agRLGekRCAp68qXl/tfF346HnTioFVAIAjbN82IzljoRpvqf5TYBVFQYlMJdk pwo4eqLYvt9/j3WLMGkt+ms+CpW1ZpuuvHxr+LaelYbn/SD7ZBLleYG7pTspsMum809G Pu844DarkaBRg7GEbhKqJDJsKeOdDYmvOATwDa6+cgPhW6BDn+XE0PBmw1da3cCRqGDu N1aw== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=FSPRaqN2/rm5UlkbJYeUFAdT1l9caFkbTRLitbmMK4U=; fh=XzDk7dREsIm+UVw0lqztUMyd1SOKFIHnZyfOFOkdISw=; b=BenZ0+qCtd8O/nIW6SKyGJ+fzW6qbOnqx7qhxLgl59bzcN67t8mZOXYexMzUfouAbP AQE9+xZ3AVjELdsdZh1fWwPGDKRBCS0R/INzK2N78gQ2X5VioPOs3cgNIN5UXjJIbyxm mK0XohSh5j1SoF9OykZHDdym+v90EVtCSyngszhEh+g25ykTrPaVa4MwgRfKp8oxojIF A3+fQH+Yhj5klefEnKUZ+lYmjCAK4UN+Tmb0ftkIAwK3Cl0eIhZweqb6zrVO6PhH9obg hABboQ9zUTEK9H5J5pxvqn1XTLFzMnN3EvDpcRT+mA3gxEMYFa8VuG+wwjoDCKH++sVF 9bTw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=IiP5x435; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from agentk.vger.email (agentk.vger.email. [23.128.96.32]) by mx.google.com with ESMTPS id bc14-20020a656d8e000000b0054fbd904b6dsi3802880pgb.500.2023.11.04.04.08.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 04 Nov 2023 04:08:25 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) client-ip=23.128.96.32; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=IiP5x435; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id 9D12680F9C9B; Sat, 4 Nov 2023 04:08:22 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232029AbjKDLIT (ORCPT + 99 others); Sat, 4 Nov 2023 07:08:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52538 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231741AbjKDLIS (ORCPT ); Sat, 4 Nov 2023 07:08:18 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A5121136 for ; Sat, 4 Nov 2023 04:08:15 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4850EC433C7; Sat, 4 Nov 2023 11:08:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1699096095; bh=VZIHdmkP+aP54yfJmioRalXA7EoSHGcpY8h5hMnTprk=; h=From:To:Cc:Subject:Date:From; b=IiP5x435Lj825vE5JslBi8mVcM0YQKP5sCDqeEimwLZuPNLrVJDB2UTWPkWB71+Sn TUt9YuH0jgMMrjv2o0r0yruchUgYBKqAB8XF9tyjjpF+kZOfA2BzNfZ2/KUHL8MuXG u3o9KPd8+hqdzB4iAFPWUR7gddlrSJosjZ0GmLnJGOcUK/pSQjDSXdLYX0EnLI66S3 0bIeH4zO7SGL84Aj5Afleemzjd8GtL/06uuTBcNYq1FHRkAvVs2PyRWRT/zLTZeQGC x6k2yq6Y8soC/GCYFK0gXLll+hSL6NNh3j+eqn1iUS8fdpJ8u0J0DPPSGQ8QT5hyzM Urf8oBmEo5tbA== From: Daniel Bristot de Oliveira To: Peter Zijlstra , Ingo Molnar , Juri Lelli Cc: Daniel Bristot de Oliveira , Vincent Guittot , Dietmar Eggemann , Steven Rostedt , Valentin Schneider , linux-kernel@vger.kernel.org Subject: [PATCH] sched/deadline: Remove inc/dec_dl_migration on !SMP Date: Sat, 4 Nov 2023 12:08:05 +0100 Message-ID: X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.8 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Sat, 04 Nov 2023 04:08:22 -0700 (PDT) The commit "5fe7765997b1 sched/deadline: Make dl_rq->pushable_dl_tasks update drive dl_rq->overloaded)" removed these functions on SMP, but thet !SMP was left. I thought that the compiler would complain about the unused functions, but it was not complaining. Cc: Ingo Molnar Cc: Peter Zijlstra Cc: Juri Lelli Cc: Vincent Guittot Cc: Dietmar Eggemann Cc: Steven Rostedt Cc: Valentin Schneider Cc: linux-kernel@vger.kernel.org Signed-off-by: Daniel Bristot de Oliveira --- kernel/sched/deadline.c | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/kernel/sched/deadline.c b/kernel/sched/deadline.c index b28114478b82..6b17220b554e 100644 --- a/kernel/sched/deadline.c +++ b/kernel/sched/deadline.c @@ -718,16 +718,6 @@ void dequeue_pushable_dl_task(struct rq *rq, struct task_struct *p) { } -static inline -void inc_dl_migration(struct sched_dl_entity *dl_se, struct dl_rq *dl_rq) -{ -} - -static inline -void dec_dl_migration(struct sched_dl_entity *dl_se, struct dl_rq *dl_rq) -{ -} - static inline void deadline_queue_push_tasks(struct rq *rq) { } -- 2.41.0