From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Luis R. Rodriguez" Subject: Re: [PATCH 2/4] swait: add the missing killable swaits Date: Thu, 29 Jun 2017 19:29:21 +0200 Message-ID: <20170629172921.GM21846@wotan.suse.de> References: <20170614222017.14653-1-mcgrof@kernel.org> <20170614222017.14653-3-mcgrof@kernel.org> <20170629125402.GH26046@kroah.com> <20170629133530.GA14747@kroah.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: Sender: stable-owner@vger.kernel.org To: Matthew Wilcox Cc: Linus Torvalds , Thomas Gleixner , Greg KH , "Luis R. Rodriguez" , "mfuzzey@parkeon.com" , "Eric W. Biederman" , Dmitry Torokhov , Daniel Wagner , David Woodhouse , "jewalt@lgsinnovations.com" , "rafal@milecki.pl" , Arend Van Spriel , "Rafael J. Wysocki" , "Li, Yi" , "atull@kernel.org" , Moritz Fischer , Petr Mladek , Johannes Berg , Emman List-Id: linux-api@vger.kernel.org On Thu, Jun 29, 2017 at 04:31:08PM +0000, Matthew Wilcox wrote: > Linus Torvalds wrote: > > The thing is simply a collection of small hacks and should NOT be used > > in general. > > > > I never want to see a driver use that code, for example. It was > > designed for RCU and RT, and it should damn well be limited to that. > > Maybe put #ifndef MODULE around the entire include file then? > And definitely remove this line: > > * One would recommend using this wait queue where possible. I'll respin and port away from swait, and add the #ifndef MODULE and special note on swait.h. Luis