scripts: Make checkpatch.pl warn on expedited RCU grace periods
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Thu, 2 Jul 2015 18:55:40 +0000 (11:55 -0700)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Wed, 22 Jul 2015 22:27:42 +0000 (15:27 -0700)
commit3ad81779ad35cd2e2ab34ba3f47f6f485696a105
tree9199ed5472dce8ac9e36bfc029579fee6cfa64cb
parent96a39bc434f94e213df43859fb8b01acda902634
scripts: Make checkpatch.pl warn on expedited RCU grace periods

The synchronize_rcu_expedited() and synchronize_sched_expedited()
expedited-grace-period primitives induce OS jitter, which can degrade
real-time response.  This commit therefore adds a checkpatch.pl warning
on any patch adding them.

Note that this patch does not warn on synchronize_srcu_expedited()
because it does not induce OS jitter, courtesy of its otherwise
much-maligned read-side memory barriers.

Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Cc: Andy Whitcroft <apw@canonical.com>
Cc: Joe Perches <joe@perches.com>
scripts/checkpatch.pl