Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753623AbbHaPPT (ORCPT ); Mon, 31 Aug 2015 11:15:19 -0400 Received: from mx2.suse.de ([195.135.220.15]:59954 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753226AbbHaPPR (ORCPT ); Mon, 31 Aug 2015 11:15:17 -0400 Message-ID: <1441034105.1831.39.camel@stgolabs.net> Subject: Re: [PATCH 1/3] timer: Optimize fastpath_timer_check() From: Davidlohr Bueso To: Jason Low Cc: Peter Zijlstra , Ingo Molnar , Thomas Gleixner , Oleg Nesterov , "Paul E. McKenney" , linux-kernel@vger.kernel.org, Frederic Weisbecker , Linus Torvalds , Steven Rostedt , Andrew Morton , Terry Rudd , Rik van Riel , Scott J Norton Date: Mon, 31 Aug 2015 08:15:05 -0700 In-Reply-To: <1440559068-29680-2-git-send-email-jason.low2@hp.com> References: <1440559068-29680-1-git-send-email-jason.low2@hp.com> <1440559068-29680-2-git-send-email-jason.low2@hp.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.12.11 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: 715 Lines: 16 On Tue, 2015-08-25 at 20:17 -0700, Jason Low wrote: > In fastpath_timer_check(), the task_cputime() function is always > called to compute the utime and stime values. However, this is not > necessary if there are no per-thread timers to check for. This patch > modifies the code such that we compute the task_cputime values only > when there are per-thread timers set. > > Signed-off-by: Jason Low Reviewed-by: Davidlohr Bueso -- 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/