Re: Linux 2.4.4-ac2

From: J . A . Magallon (jamagallon@able.es)
Date: Tue May 01 2001 - 12:27:26 EST


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:jamagallon@able.es                              #  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 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 : Mon May 07 2001 - 21:00:10 EST