From: Roland McGrath Subject: Re: [PATCH 1/4] signals: SEND_SIG_NOINFO should be considered as SI_FROMUSER() Date: Tue, 6 Oct 2009 00:31:00 -0700 (PDT) Message-ID: <20091006073100.4184128@magilla.sf.frob.com> References: <4AC608BE.9020805@fr.ibm.com> <20091003171029.GA30442@us.ibm.com> <20091004021844.GA21006@redhat.com> <20091004021918.GB21006@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: Oleg Nesterov's message of Sunday, 4 October 2009 04:19:18 +0200 <20091004021918.GB21006-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: containers-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org Errors-To: containers-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org To: Oleg Nesterov Cc: linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Linux Containers , Andrew Morton , Sukadev Bhattiprolu , Daniel Lezcano List-Id: containers.vger.kernel.org This whole series looks fine to me. I think in commenting and cleaning up any of this, it bears explicit mention that (almost) every signal is potentially reduced to SI_USER. That is, in siqueue exhaustion you don't get any info and only non-special non-SI_USER >=SIGRTMIN signals ever fail to get posted, so you get the all-zeros defaults from collect_signal() at delivery time. That's the principle you're encoding in your si_fromuser() logic, but your logs and comments are not explicit about the relationship between that logic and what's implicit in the queue-exhaustion behavior. Thanks, Roland