rcuwait: Let rcuwait_wake_up() return whether or not a task was awoken
authorDavidlohr Bueso <dave@stgolabs.net>
Fri, 24 Apr 2020 05:48:34 +0000 (22:48 -0700)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 13 May 2020 16:14:52 +0000 (12:14 -0400)
commit9d9a6ebfea329cadeda87544dceae01e9c27aaef
tree8f5b2862018ce5121af6e588584e513da2ce312b
parentc9d64a1b2d0b9c81aef5e907bbeff549fd844d13
rcuwait: Let rcuwait_wake_up() return whether or not a task was awoken

Propagating the return value of wake_up_process() back to the caller
can come in handy for future users, such as for statistics or
accounting purposes.

Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Signed-off-by: Davidlohr Bueso <dbueso@suse.de>
Message-Id: <20200424054837.5138-3-dave@stgolabs.net>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
include/linux/rcuwait.h
kernel/exit.c