From: Petri Kaukasoina <kaukasoi@elektroni.ee.tut.fi>
To: Andrew Morton <akpm@osdl.org>
Cc: roland@redhat.com, joshk@triplehelix.org, linux-kernel@vger.kernel.org
Subject: Re: Weirdness with suspending jobs in 2.6.9-rc3
Date: Tue, 12 Oct 2004 06:51:21 +0300 [thread overview]
Message-ID: <20041012035121.GA665@elektroni.ee.tut.fi> (raw)
In-Reply-To: <20041011204512.6c67333c.akpm@osdl.org>
On Mon, Oct 11, 2004 at 08:45:12PM -0700, Andrew Morton wrote:
> Petri Kaukasoina <kaukasoi@elektroni.ee.tut.fi> wrote:
> >
> > On Mon, Oct 11, 2004 at 01:55:05PM -0700, Roland McGrath wrote:
> > > > wait4(-1073750280, NULL, 0, NULL) = -1 ECHILD (No child processes)
> > >
> > > That is a clearly bogus argument.
> >
> > Hi. I see it too:
> >
> > wait4(-1073750328, NULL, 0, NULL) = -1 ECHILD (No child processes)
> >
> > But the whole problem goes away if I switch CONFIG_REGPARM off. To reproduce
> > it needs CONFIG_REGPARM=y.
> >
>
> Interesting.
>
> What command are you actually running to demonstrate this? Full details,
> please.
First 'make' while the Makefile is this
all:
sleep 40
echo Hi
sleep 5
and then in a different window 'ps ux' and then 'strace -p PID'. If
CONFIG_REGPARM if off then the strace starts:
Process 324 attached - interrupt to quit
wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 325
--- SIGCHLD (Child exited) @ 0 (0) ---
sigreturn() = ? (mask now [])
write(1, "echo Hi\n", 8) = 8
if CONFIG_REGPARM=Y then it starts:
Process 14226 attached - interrupt to quit
wait4(-1073750328, NULL, 0, NULL) = -1 ECHILD (No child processes)
write(2, "make: *** ", 10) = 10
write(2, "wait: No child processes", 24) = 24
write(2, ". Stop.\n", 9) = 9
write(2, "make: ", 6) = 6
next prev parent reply other threads:[~2004-10-12 3:51 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-10-05 6:33 Joshua Kwan
2004-10-09 10:15 ` Adrian Bunk
2004-10-09 14:16 ` Joshua Kwan
2004-10-09 21:05 ` Andrew Morton
2004-10-10 7:39 ` Joshua Kwan
[not found] ` <20041010004524.0bf6d42e.akpm@osdl.org>
2004-10-10 7:55 ` Joshua Kwan
2004-10-10 21:15 ` Joshua Kwan
2004-10-11 20:55 ` Roland McGrath
2004-10-11 21:16 ` Joshua Kwan
2004-10-11 23:09 ` Roland McGrath
2004-10-12 3:39 ` Petri Kaukasoina
2004-10-12 3:45 ` Andrew Morton
2004-10-12 3:51 ` Petri Kaukasoina [this message]
2004-10-12 4:14 ` Andrew Morton
2004-10-12 3:52 ` Andrew Morton
2004-10-12 3:56 ` Petri Kaukasoina
2004-10-12 4:11 ` Petri Kaukasoina
2004-10-11 23:27 ` Andrew Morton
2004-10-11 18:25 ` Adrian Bunk
2004-10-11 18:35 ` Joshua Kwan
2004-10-14 21:51 ` Tomasz Torcz
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20041012035121.GA665@elektroni.ee.tut.fi \
--to=kaukasoi@elektroni.ee.tut.fi \
--cc=akpm@osdl.org \
--cc=joshk@triplehelix.org \
--cc=linux-kernel@vger.kernel.org \
--cc=roland@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®