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

Matthew Wilcox
2017-06-29T16:31:08Z

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.