[PATCH 0/2] swait: add idle to make idle-hacks on kthreads explicit

From: Luis R. Rodriguez
Date: Tue Jun 20 2017 - 17:46:24 EST


In this proper patch form I've made the non-timeout idle swait void.
I've also integrated Paul's comment / ident changes, and added documentation
as suggested by Boqun.

Let me know if there are issue, otherwise, Paul feel free to take!

Luis R. Rodriguez (2):
swait: add idle variants which don't contribute to load average
rcu: use idle versions of swait to make idle-hack clear

include/linux/swait.h | 55 +++++++++++++++++++++++++++++++++++++++++++++++++++
kernel/rcu/tree.c | 11 +++++------
2 files changed, 60 insertions(+), 6 deletions(-)

--
2.11.0