Re: [PATCH v3 0/2] fixes for tip/sched/rt

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Peter Zijlstra
Date: Friday, January 16, 2009 - 6:46 am

On Fri, 2009-01-16 at 14:35 +0100, Ingo Molnar wrote:

diff --git a/init/Kconfig b/init/Kconfig
index 6504ca6..3e66d41 100644
--- a/init/Kconfig
+++ b/init/Kconfig
@@ -995,7 +995,6 @@ config SLABINFO
 
 config RT_MUTEXES
 	boolean
-	select PLIST
 
 config BASE_SMALL
 	int
diff --git a/kernel/sched_rt.c b/kernel/sched_rt.c
index b859faf..c3fe932 100644
--- a/kernel/sched_rt.c
+++ b/kernel/sched_rt.c
@@ -114,14 +114,23 @@ static void dequeue_pushable_task(struct rq *rq, struct task_struct *p)
 
 #else
 
+static inline void enqueue_pushable_task(struct rq *rq, struct task_struct *p)
+{
+}
+
+static inline void dequeue_pushable_task(struct rq *rq, struct task_struct *p)
+{
+}
+
 static inline
-void enqueue_pushable_task(struct rq *rq, struct task_struct *p) {}
-static inline
-void dequeue_pushable_task(struct rq *rq, struct task_struct *p) {}
-static inline
-void inc_rt_migration(struct sched_rt_entity *rt_se, struct rt_rq *rt_rq) {}
+void inc_rt_migration(struct sched_rt_entity *rt_se, struct rt_rq *rt_rq)
+{
+}
+
 static inline
-void dec_rt_migration(struct sched_rt_entity *rt_se, struct rt_rq *rt_rq) {}
+void dec_rt_migration(struct sched_rt_entity *rt_se, struct rt_rq *rt_rq) 
+{
+}
 
 #endif /* CONFIG_SMP */
 
diff --git a/lib/Kconfig b/lib/Kconfig
index 03c2c24..fc8ea1c 100644
--- a/lib/Kconfig
+++ b/lib/Kconfig
@@ -136,12 +136,6 @@ config TEXTSEARCH_BM
 config TEXTSEARCH_FSM
 	tristate
 
-#
-# plist support is select#ed if needed
-#
-config PLIST
-	boolean
-
 config HAS_IOMEM
 	boolean
 	depends on !NO_IOMEM
diff --git a/lib/Makefile b/lib/Makefile
index 32b0e64..902d738 100644
--- a/lib/Makefile
+++ b/lib/Makefile
@@ -11,7 +11,8 @@ lib-y := ctype.o string.o vsprintf.o cmdline.o \
 	 rbtree.o radix-tree.o dump_stack.o \
 	 idr.o int_sqrt.o extable.o prio_tree.o \
 	 sha1.o irq_regs.o reciprocal_div.o argv_split.o \
-	 proportions.o prio_heap.o ratelimit.o show_mem.o is_single_threaded.o
+	 proportions.o prio_heap.o ratelimit.o show_mem.o \
+	 is_single_threaded.o plist.o
 
 lib-$(CONFIG_MMU) += ioremap.o
 lib-$(CONFIG_SMP) += cpumask.o
@@ -40,7 +41,6 @@ lib-$(CONFIG_GENERIC_FIND_NEXT_BIT) += find_next_bit.o
 lib-$(CONFIG_GENERIC_FIND_LAST_BIT) += find_last_bit.o
 obj-$(CONFIG_GENERIC_HWEIGHT) += hweight.o
 obj-$(CONFIG_LOCK_KERNEL) += kernel_lock.o
-obj-$(CONFIG_PLIST) += plist.o
 obj-$(CONFIG_DEBUG_PREEMPT) += smp_processor_id.o
 obj-$(CONFIG_DEBUG_LIST) += list_debug.o
 obj-$(CONFIG_DEBUG_OBJECTS) += debugobjects.o


--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[git pull] RT scheduler updates for tip, Gregory Haskins, (Fri Dec 5, 7:24 am)
Re: [git pull] RT scheduler updates for tip, Ingo Molnar, (Mon Dec 8, 7:32 am)
Re: [git pull] RT scheduler updates for tip, Ingo Molnar, (Mon Dec 8, 9:12 am)
Re: [PATCH] sched: fix build failure in kernel/sched_rt.c, Gregory Haskins, (Mon Dec 8, 9:14 am)
Re: [git pull] RT scheduler updates for tip, Gregory Haskins, (Mon Dec 8, 9:57 am)
Re: [git pull] RT scheduler updates for tip, Gregory Haskins, (Tue Dec 9, 7:35 am)
Re: [git pull] RT scheduler updates for tip, Ingo Molnar, (Fri Dec 12, 4:34 am)
Re: [git pull] RT scheduler updates for tip, Ingo Molnar, (Fri Dec 12, 4:49 am)
Re: [git pull] RT scheduler updates for tip, Gregory Haskins, (Mon Dec 29, 8:37 am)
Re: [git pull] RT scheduler updates for tip, Gregory Haskins, (Mon Dec 29, 11:13 am)
Re: [git pull] RT scheduler updates for tip, Ingo Molnar, (Sat Jan 10, 9:01 pm)
Re: [git pull] RT scheduler updates for tip, Ingo Molnar, (Sun Jan 11, 2:53 am)
Re: [git pull] RT scheduler updates for tip, Gregory Haskins, (Mon Jan 12, 7:45 am)
Re: [git pull] RT scheduler updates for tip, Ingo Molnar, (Mon Jan 12, 7:45 am)
Re: [git pull] RT scheduler updates for tip, Gregory Haskins, (Mon Jan 12, 8:05 am)
[git pull] fixes for tip/sched/rt, Gregory Haskins, (Mon Jan 12, 12:23 pm)
Re: [git pull] fixes for tip/sched/rt, Ingo Molnar, (Mon Jan 12, 6:43 pm)
[PATCH v3 0/2] fixes for tip/sched/rt, Gregory Haskins, (Wed Jan 14, 7:46 am)
[PATCH v3 1/2] sched: de CPP-ify the scheduler code, Gregory Haskins, (Wed Jan 14, 7:46 am)
Re: [PATCH v3 1/2] sched: de CPP-ify the scheduler code, Steven Rostedt, (Wed Jan 14, 8:11 am)
Re: [PATCH v3 1/2] sched: de CPP-ify the scheduler code, Gregory Haskins, (Wed Jan 14, 8:28 am)
Re: [PATCH v3 0/2] fixes for tip/sched/rt, Ingo Molnar, (Thu Jan 15, 5:30 am)
Re: [PATCH v3 0/2] fixes for tip/sched/rt, Ingo Molnar, (Fri Jan 16, 6:35 am)
Re: [PATCH v3 0/2] fixes for tip/sched/rt, Gregory Haskins, (Fri Jan 16, 6:45 am)
Re: [PATCH v3 0/2] fixes for tip/sched/rt, Peter Zijlstra, (Fri Jan 16, 6:46 am)
Re: [PATCH v3 0/2] fixes for tip/sched/rt, Gregory Haskins, (Fri Jan 16, 7:02 am)
Re: [PATCH v3 0/2] fixes for tip/sched/rt, Ingo Molnar, (Fri Jan 16, 7:02 am)