[PATCH] 2.4-ac: more scheduler updates (1/3)

From: Robert Love (rml@tech9.net)
Date: Mon May 20 2002 - 16:08:39 EST


Alan,

I promise these are the last of them :)

This patch does some remaining cleanup and optimization. I choose not
to send these as individual diffs because they are simple.
Specifically:

        - move sched_find_first_bit from mmu_context.h to bitops.h
          as in 2.5. Why it was ever in mmu_context.h is beyond me.
        - remove the RUN_CHILD_FIRST cruft from kernel/fork.c.
          Pretty clear this works great; we do not need the ifdefs.
        - Add comments to top of kernel/sched.c to briefly explain
          new scheduler design, give credit, and update copyright.
        - set_cpus_allowed optimization from Mike Kravetz: we do not
          need to invoke the migration_thread's if the task is not
          running; just update task->cpu.

Patch is against 2.4.19-pre8-ac5, please apply.

        Robert Love



-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu May 23 2002 - 22:00:20 EST