Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754409Ab3C2Lpb (ORCPT ); Fri, 29 Mar 2013 07:45:31 -0400 Received: from merlin.infradead.org ([205.233.59.134]:36881 "EHLO merlin.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753338Ab3C2Lpa (ORCPT ); Fri, 29 Mar 2013 07:45:30 -0400 Message-ID: <1364557514.5053.85.camel@laptop> Subject: Re: [PATCH 2/5] sched: factor out code to should_we_balance() From: Peter Zijlstra To: Joonsoo Kim Cc: Ingo Molnar , linux-kernel@vger.kernel.org, Mike Galbraith , Paul Turner , Alex Shi , Preeti U Murthy , Vincent Guittot , Morten Rasmussen , Namhyung Kim Date: Fri, 29 Mar 2013 12:45:14 +0100 In-Reply-To: <1364457537-15114-3-git-send-email-iamjoonsoo.kim@lge.com> References: <1364457537-15114-1-git-send-email-iamjoonsoo.kim@lge.com> <1364457537-15114-3-git-send-email-iamjoonsoo.kim@lge.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.6.2-0ubuntu0.1 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 717 Lines: 17 On Thu, 2013-03-28 at 16:58 +0900, Joonsoo Kim wrote: > There is not enough reason to place this checking at > update_sg_lb_stats(), > except saving one iteration for sched_group_cpus. But with this > change, > we can save two memset cost and can expect better compiler > optimization, > so clean-up may be more beneficial to us. It would be good if you'd described what you actually did, there's a lot of code movement and now I have to figure out wth you did and why. -- 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/