Subject: Re: Strange behavior with build.sh -j 4
To: Andreas Gustafsson <gson@gson.org>
From: David Laight <david@l8s.co.uk>
List: current-users
Date: 11/01/2002 09:13:26
On Thu, Oct 31, 2002 at 09:01:38PM -0800, Andreas Gustafsson wrote:
> Manuel Bouyer writes:
> > I noticed similar problems. For me it happens when building the boot floppies.
> > I suspect it's a make issue, it seems make waits a very long time (several
> > seconds) between the end of a subprocess and the start of the next one.
> 
> Yes, this does look like a make issue.  When it happened to me, I
> saw make run about one job every five seconds.  "ps" showed the make
> process waiting on "select", and looking at the source code of make,
> there is just one select() call and it calls select with a timeout
> argument of exactly 5 seconds.  I bet that's no coincidence.
> 
> Who would like to submit a PR?

Is it the bug I found that causes select to fail to wake up if
3 or processes are select()ing on the same fd, and do things
in specific orders?  See kern/17517.


	David

-- 
David Laight: david@l8s.co.uk