Re: Weirdness with suspending jobs in 2.6.9-rc3

From: Andrew Morton
Date: Mon Oct 11 2004 - 23:18:26 EST


Petri Kaukasoina <kaukasoi@xxxxxxxxxxxxxxxxxxx> wrote:
>
> > 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

eww, OK, happens here too.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/