doc: Tasks RCU must protect instructions before trampoline
authorPaul E. McKenney <paulmck@kernel.org>
Tue, 12 May 2020 02:52:34 +0000 (19:52 -0700)
committerPaul E. McKenney <paulmck@kernel.org>
Mon, 29 Jun 2020 18:58:11 +0000 (11:58 -0700)
commitd93d97cbe0d4369153fb04954f1481a9f42aa5b6
tree5b0c6301f2b38a6987ddbc9a9efcb49fc8288212
parentb81898e3d2133715e4475d25757595a3e18502ed
doc: Tasks RCU must protect instructions before trampoline

Protecting the code in a trampoline can also require protecting a
number of instructions prior to actually entering the trampoline.
For example, these earlier instructions might be computing the address
of the trampoline.  This commit therefore updates RCU's requirements to
record this for posterity.

Link: https://lore.kernel.org/lkml/20200511154824.09a18c46@gandalf.local.home/
Reported-by: Lai Jiangshan <jiangshanlai@gmail.com>
Reported-by: Steven Rostedt <rostedt@goodmis.org>
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Documentation/RCU/Design/Requirements/Requirements.rst