On 04/02/2015 01:39 PM, Frederic Weisbecker wrote: > TIF_NOHZ is used by context_tracking to force syscall slow-path on every > task in order to track userspace roundtrips. As such, it must be set on > all running tasks. > > It's currently explicitly inherited through context switches. There is > no need to do it on this fast-path though. The flag could be simply > set once for all on all tasks, whether they are running or not. > > Lets do this by setting the flag to init task on early boot and let it > propagate through fork inheritance. > > Suggested-by: Oleg Nesterov <o...@redhat.com> > Signed-off-by: Frederic Weisbecker <fweis...@gmail.com> > Cc: Thomas Gleixner <t...@linutronix.de> > Cc: Peter Zijlstra <pet...@infradead.org> > Cc: Rik van Riel <r...@redhat.com> > Cc: Paul E. McKenney <paul...@linux.vnet.ibm.com> > Cc: Ingo Molnar <mi...@kernel.org> > Cc: Dave Jones <da...@redhat.com> > Cc: Oleg Nesterov <o...@redhat.com>
Reviewed-by: Rik van Riel <r...@redhat.com> -- 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/