From nobody Mon Jun 22 23:57:27 2026 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2CE32C433EF for ; Tue, 15 Mar 2022 08:31:27 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1346012AbiCOIce (ORCPT ); Tue, 15 Mar 2022 04:32:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54704 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345954AbiCOIcL (ORCPT ); Tue, 15 Mar 2022 04:32:11 -0400 Received: from galois.linutronix.de (Galois.linutronix.de [IPv6:2a0a:51c0:0:12e:550::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D27D64C40F; Tue, 15 Mar 2022 01:30:58 -0700 (PDT) Date: Tue, 15 Mar 2022 08:30:56 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1647333057; 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; bh=9aTs/P1+obr23x07/kcEyux4yGJ7VgnSTxRlcS8hX9Q=; b=A9UGIW+ApAy1QcmZhZm40EDkx568H5c6Nf8it0/z0Eb4XpfoRf0TZiHw5n95aPNnaVqyxB 3FJSLSixjZwhkrgeTma1Wmy4PM7mX0sfBGKuGpP3mm2j4f7jTIosNdwf4mVPPzXwaoZ6y4 F0xeZ0xngiVwG56/RLz66bSAXpnGCI36DepC7afToqJm3hKHcs7Rj3vmC43Uk85CxQ3Mpo H9wdDQ7FqdJjDJajzdwjT7rpgW/WSbl7PQvpSuoa6KABbSUBn8b/QnMzGaeuI/P/PEJRbE 6/5tRw5y/7uLozRYqvZdnNsEqM9YabZbXrNqXHNmmTnmLwLQjic82rMf2vE2hg== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1647333057; 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; bh=9aTs/P1+obr23x07/kcEyux4yGJ7VgnSTxRlcS8hX9Q=; b=a3nqu/M0fNK2YQmIZt1aEx91Kzh+qMEeaf7uYGQMNsyhKezwOPirJ+6DfoZVkANlRFT6XT GmOt1mPfT/TudVBQ== From: "tip-bot2 for Ingo Molnar" Sender: tip-bot2@linutronix.de Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: sched/core] sched/headers: Reorganize, clean up and optimize kernel/sched/core.c dependencies Cc: Ingo Molnar , Peter Zijlstra , x86@kernel.org, linux-kernel@vger.kernel.org MIME-Version: 1.0 Message-ID: <164733305635.16921.864659737535928482.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 sched/core branch of tip: Commit-ID: e66f6481a8c748ce2d4b37a3d5e10c4dd0d65e80 Gitweb: https://git.kernel.org/tip/e66f6481a8c748ce2d4b37a3d5e10c4dd= 0d65e80 Author: Ingo Molnar AuthorDate: Wed, 23 Feb 2022 08:17:15 +01:00 Committer: Ingo Molnar CommitterDate: Wed, 23 Feb 2022 10:58:33 +01:00 sched/headers: Reorganize, clean up and optimize kernel/sched/core.c depend= encies Use all generic headers from kernel/sched/sched.h that are required for it to build. Sort the sections alphabetically. Signed-off-by: Ingo Molnar Reviewed-by: Peter Zijlstra --- kernel/sched/core.c | 81 ++++++++++++++++++++++++++++++++++++++------ 1 file changed, 70 insertions(+), 11 deletions(-) diff --git a/kernel/sched/core.c b/kernel/sched/core.c index 22de537..5eaa421 100644 --- a/kernel/sched/core.c +++ b/kernel/sched/core.c @@ -6,7 +6,73 @@ * * Copyright (C) 1991-2002 Linus Torvalds */ +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#ifdef CONFIG_PREEMPT_DYNAMIC +# include +#endif + +#include + +#include +#include + #define CREATE_TRACE_POINTS +#include #include #undef CREATE_TRACE_POINTS =20 @@ -14,22 +80,15 @@ #include "stats.h" #include "autogroup.h" =20 -#include -#include -#include -#include -#include - -#include -#include +#include "autogroup.h" +#include "pelt.h" +#include "smp.h" +#include "stats.h" =20 #include "../workqueue_internal.h" #include "../../fs/io-wq.h" #include "../smpboot.h" =20 -#include "pelt.h" -#include "smp.h" - /* * Export tracepoints that act as a bare tracehook (ie: have no trace event * associated with them) to allow external modules to probe them.