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


boris


-
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.042 / U:3.976 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site