lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  PHC 
Open Source and information security mailing list archives
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:	Mon, 26 Oct 2009 22:24:14 +0300
From:	Cyrill Gorcunov <>
To:	Ingo Molnar <>, Peter Zijlstra <>
Cc:	LKML <>
Subject: [PATCH -tip] sched: Use root_task_group_empty only with

Please review. Perhaps there some usage planned in future?

	-- Cyrill
root_task_group_empty is used only with
FAIR_GROUP_SCHED so if we use other scheduler
we get

kernel/sched.c:314: warning: ‘root_task_group_empty’ defined but not used

So move CONFIG_FAIR_GROUP_SCHED up that it cover

Signed-off-by: Cyrill Gorcunov <>
 kernel/sched.c |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Index: linux-2.6.git/kernel/sched.c
--- linux-2.6.git.orig/kernel/sched.c
+++ linux-2.6.git/kernel/sched.c
@@ -309,6 +309,8 @@ static DEFINE_PER_CPU_SHARED_ALIGNED(str
 static DEFINE_SPINLOCK(task_group_lock);
 #ifdef CONFIG_SMP
 static int root_task_group_empty(void)
@@ -316,7 +318,6 @@ static int root_task_group_empty(void)
 #else /* !CONFIG_USER_SCHED */
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

Powered by blists - more mailing lists