Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752868AbdF2R3e (ORCPT ); Thu, 29 Jun 2017 13:29:34 -0400 Received: from mx2.suse.de ([195.135.220.15]:36700 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751965AbdF2R32 (ORCPT ); Thu, 29 Jun 2017 13:29:28 -0400 Date: Thu, 29 Jun 2017 19:29:21 +0200 From: "Luis R. Rodriguez" 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 , Emmanuel Grumbach , "Coelho, Luciano" , Kalle Valo , Andrew Lutomirski , Kees Cook , "AKASHI, Takahiro" , David Howells , Peter Jones , Hans de Goede , Alan Cox , "Theodore Ts'o" , Michael Kerrisk , Paul Gortmaker , Marcelo Tosatti , Linux API , linux-fsdevel , Linux Kernel Mailing List , "stable # 4 . 6" Subject: Re: [PATCH 2/4] swait: add the missing killable swaits 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 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.6.0 (2016-04-01) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 595 Lines: 17 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