lkml.org 
[lkml]   [2001]   [May]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Linux 2.4.4-ac2

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/

\
 
 \ /
  Last update: 2005-03-22 12:52    [W:0.057 / U:1.008 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site