]> git.baikalelectronics.ru Git - kernel.git/commit
rcuwait: Introduce rcuwait_active()
authorDavidlohr Bueso <dave@stgolabs.net>
Fri, 24 Apr 2020 05:48:36 +0000 (22:48 -0700)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 13 May 2020 16:14:54 +0000 (12:14 -0400)
commitaeeaeadbb66d877eca90da122075e5d0e2d92b25
tree6c66c7930e5312879078bb39d11e4485e233c29d
parent75f9185e213934db33c59be01a123b05f79bd639
rcuwait: Introduce rcuwait_active()

This call is lockless and thus should not be trusted blindly.
For example, the return value of rcuwait_wakeup() should be used to
track whether a process was woken up.

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