RE: [PATCH 2/4] swait: add the missing killable swaits

From: Matthew Wilcox
Date: Thu Jun 29 2017 - 12:31:30 EST


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.