lists.openwall.net   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  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <CAJd=RBB-sju_DFR5RjQRD=f7ZmPUG7Dey7zW03oPaNdVohXRMA@mail.gmail.com>
Date:	Tue, 10 Jul 2012 21:07:44 +0800
From:	Hillf Danton <dhillf@...il.com>
To:	LKML <linux-kernel@...r.kernel.org>,
	Hillf Danton <dhillf@...il.com>
Subject: [patch] BFS 421-1: delink cpupri

We compile less with cpupri delinked.


--- a/kernel/sched/Makefile	Tue Jul 10 20:51:54 2012
+++ b/kernel/sched/Makefile	Tue Jul 10 20:51:52 2012
@@ -17,8 +17,8 @@ else
 obj-y += core.o clock.o idle_task.o fair.o rt.o stop_task.o
 obj-$(CONFIG_SCHED_AUTOGROUP) += auto_group.o
 obj-$(CONFIG_SCHED_DEBUG) += debug.o
-endif
 obj-$(CONFIG_SMP) += cpupri.o
+endif
 obj-$(CONFIG_SCHEDSTATS) += stats.o


--- a/kernel/sched/bfs.c	Mon Jul  9 20:10:14 2012
+++ b/kernel/sched/bfs.c	Tue Jul 10 20:49:58 2012
@@ -76,7 +76,6 @@
 #include <asm/paravirt.h>
 #endif

-#include "cpupri.h"
 #include "../workqueue_sched.h"

 #define CREATE_TRACE_POINTS
@@ -223,7 +222,6 @@ struct root_domain {
 	 * one runnable RT task.
 	 */
 	cpumask_var_t rto_mask;
-	struct cpupri cpupri;
 };

 /*
@@ -5591,7 +5589,6 @@ static void free_rootdomain(struct rcu_h
 {
 	struct root_domain *rd = container_of(rcu, struct root_domain, rcu);

-	cpupri_cleanup(&rd->cpupri);
 	free_cpumask_var(rd->rto_mask);
 	free_cpumask_var(rd->online);
 	free_cpumask_var(rd->span);
@@ -5646,12 +5643,8 @@ static int init_rootdomain(struct root_d
 	if (!alloc_cpumask_var(&rd->rto_mask, GFP_KERNEL))
 		goto free_online;

-	if (cpupri_init(&rd->cpupri) != 0)
-		goto free_rto_mask;
 	return 0;

-free_rto_mask:
-	free_cpumask_var(rd->rto_mask);
 free_online:
 	free_cpumask_var(rd->online);
 free_span:
--
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ