Messages in this thread | | | Date | Tue, 1 May 2001 19:12:50 +0200 | Subject | Re: Linux 2.4.4-ac2 | From | boris <> |
| |
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/
| |