Re: [PATCH v2 2/6] sched/rt: Optimize select_task_rq_rt() for non-RT curr task

From: Steven Rostedt
Date: Tue Nov 04 2014 - 09:47:15 EST


On Tue, 4 Nov 2014 22:29:24 +0800
"pang.xunlei" <pang.xunlei@xxxxxxxxxx> wrote:


> > Migration is not cheap. It causes cache misses and TLB flushes. This is
> > not something that should be taken lightly.
> Ok, thanks!
> But I think the PUSH operation optimized by the former patch is reasonable,
> since PUSH itselft does involve the Migration. Do I miss something?

For the first patch you may be right, but I want to think about it some
more. I want to make sure we are not adding any other type of overhead
with the extra calls.

-- Steve
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/