On Wed, 19 Nov 2014 11:44:14 -0800, Paul E. McKenney wrote: > On Wed, Nov 19, 2014 at 09:22:35AM -0800, Greg Kroah-Hartman wrote: >> >> Doesn't build in 3.17 properly :( > > Older kernels can use rcu_note_context_switch() instead of > rcu_note_voluntary_context_switch(), which didn't show up until quite > recently. Please note that rcu_note_context_switch() is quite a bit > more heavy-weight than is rcu_note_voluntary_context_switch(), but it > should be OK in this context.
When I tried this in 3.14.x the kernel would lock up immediately during boot (not even a console). This may or may not have to do with me also using the BFS scheduler, but it's IMHO something that should be double-checked. I also tried to backport the necessary macros but that went nowhere fast, since they ended up pulling in most of the rcu-task stuff.. -h -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/