O(1) updates for 2.4.19-pre8-ac1
Subsystems (7)
PATCH 1/1 O(1) updates for 2.4.19-pre8-ac1
Alan,
Attached are the updates for O(1) resycned to 2.4.19-pre8-ac1. The previous patches still apply cleanly. If you want the chunks, they are at:
http://www.kernel.org/pub/linux/kernel/people/rml/sched/for_alan/
Specifically, these patches:
- final yield() abstractions (found some more in arch-dependent code)
- updated migration_init code, from 2.5, based on Erich Focht's work. Cleaner and simpler and works. wli (author of current implementation) signs off.
- separate notion of max RT priority from max RT priority exported to user-space.
Enjoy,
Robert Love
arch/alpha/mm/fault.c +1 -2
@@ -196,8 +196,7 @@*/ out_of_memory:if (current->pid ==1 ) { - current->policy |=SCHED_YIELD ; -schedule (); +yield ();down_read (&mm->mmap_sem); goto survive; }
arch/arm/mm/fault-common.c +1 -2
@@ -225,8 +225,7 @@* If we are out of memory for pid1, * sleep for a while and retry */ - tsk->policy |=SCHED_YIELD ; -schedule (); +yield (); goto survive; check_stack:
arch/ia64/mm/fault.c +1 -2
@@ -196,8 +196,7 @@ out_of_memory:up_read (&mm->mmap_sem);if (current->pid ==1 ) { - current->policy |=SCHED_YIELD ; -schedule (); +yield ();down_read (&mm->mmap_sem); goto survive; }
arch/m68k/mm/fault.c +1 -2
@@ -181,8 +181,7 @@ out_of_memory:up_read (&mm->mmap_sem);if (current->pid ==1 ) { - current->policy |=SCHED_YIELD ; -schedule (); +yield ();down_read (&mm->mmap_sem); goto survive; }
arch/mips/mm/fault.c +1 -2
@@ -211,8 +211,7 @@ out_of_memory:up_read (&mm->mmap_sem);if (tsk->pid ==1 ) { - tsk->policy |=SCHED_YIELD ; -schedule (); +yield ();down_read (&mm->mmap_sem); goto survive; }
arch/mips64/mm/fault.c +1 -2
@@ -240,8 +240,7 @@ out_of_memory:up_read (&mm->mmap_sem);if (tsk->pid ==1 ) { - tsk->policy |=SCHED_YIELD ; -schedule (); +yield ();down_read (&mm->mmap_sem); goto survive; }
arch/ppc/mm/fault.c +1 -2
@@ -197,8 +197,7 @@ out_of_memory:up_read (&mm->mmap_sem);if (current->pid ==1 ) { - current->policy |=SCHED_YIELD ; -schedule (); +yield ();down_read (&mm->mmap_sem); goto survive; }
arch/s390/mm/fault.c +1 -2
@@ -290,8 +290,7 @@ out_of_memory:up_read (&mm->mmap_sem);if (tsk->pid ==1 ) { - tsk->policy |=SCHED_YIELD ; -schedule (); +yield ();down_read (&mm->mmap_sem); goto survive; }
arch/s390x/mm/fault.c +1 -2
@@ -290,8 +290,7 @@ out_of_memory:up_read (&mm->mmap_sem);if (tsk->pid ==1 ) { - tsk->policy |=SCHED_YIELD ; -schedule (); +yield ();down_read (&mm->mmap_sem); goto survive; }
arch/sh/mm/fault.c +1 -2
@@ -207,8 +207,7 @@ out_of_memory:up_read (&mm->mmap_sem);if (current->pid ==1 ) { - current->policy |=SCHED_YIELD ; -schedule (); +yield ();down_read (&mm->mmap_sem); goto survive; }
kernel/sched.c +40 -91
218 lines not on this page · raw message