Re: [PATCH] 2.4-ac: sparc64 support for O(1) scheduler

Thomas Duffy (Thomas.Duffy.99@alumni.brown.edu)
Fri, 14 Jun 2002 15:00:03 -0700


begin David S. Miller quotation on Thu, 13 Jun 2002 21:32:11 -0700:

> From: Robert Love <rml@mvista.com>
> Date: 13 Jun 2002 12:21:58 -0700
>
> Patch is against 2.4.19-pre10-ac2, please apply.
>
> Ummm what is with all of those switch_mm() hacks? Is this an attempt to
> work around the locking problems? Please don't do that as it is going
> to kill performance and having ifdef sparc64 sched.c changes is ugly to
> say the least.
>
> Ingo posted the correct fix to the locking problem with the patch he
> posted the other day, that is what should go into the -ac patches.

This part of the patch (the change to kernel/sched.c) can be safely
removed without making o1 stop working.

This hack (conservatively) fixes an issue where on bootup, the machine
would get into a page fault loop and hang. This only happens a very
small percentage of the time. I will investigate whether the patch
Ingo put out fixes this issue.

-tduffy

-- 
He who receives an idea from me, receives instruction himself without
lessening mine; as he who lights his taper at mine, receives light
without darkening me.                      -- Thomas Jefferson
-
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/