commit | 47cf29b9e721967aac95ebda9e50408219755852 | [log] [tgz] |
---|---|---|
author | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | Mon Feb 03 11:52:27 2014 -0800 |
committer | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | Sun Feb 23 09:03:24 2014 -0800 |
tree | 9f35fcc13e7411c277094b9740d94fab14323a8b | |
parent | bc8f83e2c0d585b201dfbb52e98f6f8741d324ea [diff] |
rcutorture: Abstract torture_create_kthread() Creation of kthreads is not RCU-specific, so this commit abstracts out torture_create_kthread(), saving a few tens of lines of code in the process. This change requires modifying VERBOSE_TOROUT_ERRSTRING() to take a non-const string, so that _torture_create_kthread() can avoid an open-coded substitute. Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com> Reviewed-by: Josh Triplett <josh@joshtriplett.org>