From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christoph Hellwig Subject: Re: [PATCH/RFC] signal: Export signal_wake_up_state() to modules Date: Fri, 5 May 2017 04:22:00 -0700 Message-ID: <20170505112200.GA2939@infradead.org> References: <1493977751-19340-1-git-send-email-geert+renesas@glider.be> <20170505100729.GA21589@infradead.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Christoph Hellwig , Geert Uytterhoeven , Ingo Molnar , Peter Zijlstra , Oleg Nesterov , Thomas Gleixner , "linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" , linux-spi To: Geert Uytterhoeven Return-path: Content-Disposition: inline In-Reply-To: Sender: linux-spi-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-ID: On Fri, May 05, 2017 at 01:08:47PM +0200, Geert Uytterhoeven wrote: > Of course I can add a flag to indicate abortion, and just call complete_all(), > but IMHO that's a bit silly, given wait_for_completion_interruptible() already > provides this side channel information through -ERESTARTSYS. Even if this was the right channel (which I'm not sure about) it should be provided as an abstract API operating on the completion. -- To unsubscribe from this list: send the line "unsubscribe linux-spi" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html