From: Kayra Cizmeci <kayracizmeci@gmail.com>
To: Ingo Molnar <mingo@redhat.com>,
Peter Zijlstra <peterz@infradead.org>,
Juri Lelli <juri.lelli@redhat.com>,
Vincent Guittot <vincent.guittot@linaro.org>,
Dietmar Eggemann <dietmar.eggemann@arm.com>,
Steven Rostedt <rostedt@goodmis.org>,
Ben Segall <bsegall@google.com>, Mel Gorman <mgorman@suse.de>,
Valentin Schneider <vschneid@redhat.com>,
K Prateek Nayak <kprateek.nayak@amd.com>,
linux-kernel@vger.kernel.org
Cc: Kayra Cizmeci <kayracizmeci@gmail.com>
Subject: [PATCH] sched/fair: Remove unused autogroup.h include
Date: Sun, 26 Jul 2026 19:02:38 +0300 [thread overview]
Message-ID: <20260726160238.107142-1-kayracizmeci@gmail.com> (raw)
autogroup.h is included in fair.c but nothing in fair.c uses
anything it declares.
Signed-off-by: Kayra Cizmeci <kayracizmeci@gmail.com>
---
Hello, I've done some confirmations, firstly I grepped autogroup and
only place it appears is the include. Because of everything in autogroup.h
that can be used has autogroup string in them (Sorry if I've missed something)
autogroup.h is not used in fair.c. I also made a boot test using Lima and above
that QEMU, in x86_64 defconfig, 4 CPUs, busybox.
kernel/sched/fair.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c
index d78467ec6ee1..666ee3643b73 100644
--- a/kernel/sched/fair.c
+++ b/kernel/sched/fair.c
@@ -56,7 +56,6 @@
#include "sched.h"
#include "stats.h"
-#include "autogroup.h"
/*
* The initial- and re-scaling of tunables is configurable
base-commit: 3dab139d4795f688e4f243e40c7474df00d329d9
--
2.53.0
next reply other threads:[~2026-07-26 16:03 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-07-26 16:02 Kayra Cizmeci [this message]
2026-08-31 19:22 ` Kayra Cizmeci
2026-08-26 10:41 [PATCH v2 1/2] sched/fair: reuse the ENQUEUE_DELAYED calculation in enqueue_task_fair() K Prateek Nayak
2026-09-07 16:05 ` [PATCH] sched/fair: Remove unused autogroup.h include Kayra Cizmeci
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260726160238.107142-1-kayracizmeci@gmail.com \
--to=kayracizmeci@gmail.com \
--cc=bsegall@google.com \
--cc=dietmar.eggemann@arm.com \
--cc=juri.lelli@redhat.com \
--cc=kprateek.nayak@amd.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mgorman@suse.de \
--cc=mingo@redhat.com \
--cc=peterz@infradead.org \
--cc=rostedt@goodmis.org \
--cc=vincent.guittot@linaro.org \
--cc=vschneid@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®