Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754487AbaKDOrM (ORCPT ); Tue, 4 Nov 2014 09:47:12 -0500 Received: from cdptpa-outbound-snat.email.rr.com ([107.14.166.228]:29061 "EHLO cdptpa-oedge-vip.email.rr.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753792AbaKDOrK (ORCPT ); Tue, 4 Nov 2014 09:47:10 -0500 Date: Tue, 4 Nov 2014 09:47:07 -0500 From: Steven Rostedt To: "pang.xunlei" Cc: lkml , Ingo Molnar , Peter Zijlstra , Juri Lelli Subject: Re: [PATCH v2 2/6] sched/rt: Optimize select_task_rq_rt() for non-RT curr task Message-ID: <20141104094707.79e9ca86@gandalf.local.home> In-Reply-To: References: <1415099585-31174-1-git-send-email-pang.xunlei@linaro.org> <1415099585-31174-2-git-send-email-pang.xunlei@linaro.org> <20141104075237.4eb9b5e6@gandalf.local.home> X-Mailer: Claws Mail 3.10.1 (GTK+ 2.24.25; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-RR-Connecting-IP: 107.14.168.118:25 X-Cloudmark-Score: 0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 4 Nov 2014 22:29:24 +0800 "pang.xunlei" 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/