On 05.01 boris wrote:
> On Tue, May 01, 2001 at 04:50:52PM +0100, Hugh Dickins wrote:
>  
> > Don't ask me why, but I think you may find it's Peter's patch to
> > the women-and-children-first in kernel/fork.c: I'm not yet running
> > -ac2, but I am trying that patch, fine on UP but hanging right there
> > (well, I get a "go go go" message too) on SMP.
> > 
> > Try reversing the:
> > 
> > -   p->counter = current->counter;
> > -   current->counter = 0;
> > +   p->counter = (current->counter + 1) >> 1;
> > +   current->counter >>= 1;
> > +   current->policy |= SCHED_YIELD;
> > 
> > and see if that works for you too.
> 
> OK works here ...
> 

Me too.

Perhaps this reschedules ok in UP but kinda fails in SMP...

-- 
J.A. Magallon                                          #  Let the source
mailto:[EMAIL PROTECTED]                              #  be with you, Luke... 

Linux werewolf 2.4.4-ac1 #1 SMP Tue May 1 11:35:17 CEST 2001 i686

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

Reply via email to