From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753477AbcCAMk6 (ORCPT ); Tue, 1 Mar 2016 07:40:58 -0500 Received: from bombadil.infradead.org ([198.137.202.9]:43502 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753312AbcCAMk5 (ORCPT ); Tue, 1 Mar 2016 07:40:57 -0500 Date: Tue, 1 Mar 2016 13:40:46 +0100 From: Peter Zijlstra To: Alexander Gordeev Cc: linux-kernel@vger.kernel.org, Oleg Nesterov Subject: Re: [PATCH v2 2/2] sched/core: Get rid of 'cpu' variable in __schedule() Message-ID: <20160301124046.GS6357@twins.programming.kicks-ass.net> References: <37225565296cf09eab30842f77dfb31ef56379e2.1456825203.git.agordeev@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <37225565296cf09eab30842f77dfb31ef56379e2.1456825203.git.agordeev@redhat.com> User-Agent: Mutt/1.5.21 (2012-12-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Mar 01, 2016 at 01:01:42PM +0100, Alexander Gordeev wrote: > 'cpu' variable is only used to acquire the current runqueue. > By using this_rq() instead, we can get rid of that variable. Does not apply to tip/sched/core