[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20090531173144.0a552386@lxorguk.ukuu.org.uk>
Date: Sun, 31 May 2009 17:31:44 +0100
From: Alan Cox <alan@...rguk.ukuu.org.uk>
To: Olivier Galibert <galibert@...ox.com>
Cc: paul@...-scientist.net, linux-kernel@...r.kernel.org,
stable@...nel.org, Andrew Morton <akpm@...ux-foundation.org>,
Andi Kleen <andi@...stfloor.org>,
Oleg Nesterov <oleg@...hat.com>,
Roland McGrath <roland@...hat.com>
Subject: Re: [PATCH] coredump: Retry writes where appropriate
O> Perhaps removing the "|| r == -EINTR" part would make both of you
> happy? He gets the reliability on pipes, you keep the interrupt on
> signals.
How does that improve things.
There is a second problem anyway. Suppose something is causing a
continual stream of signal events - what guarantees it makes progress ?
The only source of signals during a dump should be external ones. Far
better would be to set some kind of defined signal mask during the dump
(say SIGPIPE, SIGINT, SIGQUIT) ? I agree with Paul's patch in the sense
we don't want spurious SIGIO events or similar spoiling a dump.
Alan
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists