On 04/03/2014 08:12 AM, Dongsheng Yang wrote: > In function set_task_cpu(), if cpu == new_cpu, > there is no migration happen. But current trace point > will raise a migration trace event. > > This patch change trace point to right place, > only when migration really happen, an event will > be threw out. > > Signed-off-by: Dongsheng Yang <[email protected]>
I don't see any obvious place where set_task_cpu is called with cpu == new_cpu, but there might be an un-obvious place, because that if looks like it's there for a reason :) Acked-by: Rik van Riel <[email protected]> -- All rights reversed -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

