From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752964AbdCAQpu (ORCPT ); Wed, 1 Mar 2017 11:45:50 -0500 Received: from merlin.infradead.org ([205.233.59.134]:43376 "EHLO merlin.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751647AbdCAQoq (ORCPT ); Wed, 1 Mar 2017 11:44:46 -0500 Date: Wed, 1 Mar 2017 17:22:18 +0100 From: Peter Zijlstra To: Steven Rostedt Cc: Pavan Kondeti , LKML , Ingo Molnar , Andrew Morton Subject: Re: [PATCH] sched: Optimize pick_next_task for idle_sched_class too Message-ID: <20170301162218.GQ6515@twins.programming.kicks-ass.net> References: <20170119101703.2abeaeb6@gandalf.local.home> <20170119174408.GN6485@twins.programming.kicks-ass.net> <20170223135458.GC6515@twins.programming.kicks-ass.net> <20170301105303.00773560@gandalf.local.home> <20170301160352.GO6515@twins.programming.kicks-ass.net> <20170301111922.27700f17@gandalf.local.home> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170301111922.27700f17@gandalf.local.home> User-Agent: Mutt/1.5.23.1 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Mar 01, 2017 at 11:19:22AM -0500, Steven Rostedt wrote: > On Wed, 1 Mar 2017 17:03:52 +0100 > Peter Zijlstra wrote: > > > On Wed, Mar 01, 2017 at 10:53:03AM -0500, Steven Rostedt wrote: > > > Peter, do we have a solution for this yet? Are you going to add the one > > > with the linker magic? > > > > I queued the below earlier today. > > Isn't this pretty much identical to the patch I sent you a month ago? > > http://lkml.kernel.org/r/20170119101703.2abeaeb6@gandalf.local.home Yes, except this one has a comment explaining why we care about prev->sched_class.