Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751673AbWCBTJa (ORCPT ); Thu, 2 Mar 2006 14:09:30 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752035AbWCBTJa (ORCPT ); Thu, 2 Mar 2006 14:09:30 -0500 Received: from omx1-ext.sgi.com ([192.48.179.11]:5826 "EHLO omx1.americas.sgi.com") by vger.kernel.org with ESMTP id S1751673AbWCBTJ3 (ORCPT ); Thu, 2 Mar 2006 14:09:29 -0500 Date: Thu, 2 Mar 2006 11:09:16 -0800 (PST) From: Christoph Lameter To: Atsushi Nemoto cc: linux-kernel@vger.kernel.org, akpm@osdl.org, ralf@linux-mips.org Subject: Re: [PATCH] simplify update_times (avoid jiffies/jiffies_64 aliasing problem) In-Reply-To: <20060302.230227.25910097.anemo@mba.ocn.ne.jp> Message-ID: References: <20060302.230227.25910097.anemo@mba.ocn.ne.jp> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 713 Lines: 14 On Thu, 2 Mar 2006, Atsushi Nemoto wrote: > In kernel 2.6, update_times() is called directly in timer interrupt, > so there is no point calculating ticks here. This also get rid of > difference of jiffies and jiffies_64 due to compiler's optimization > (which was reported previously with subject "jiffies_64 vs. jiffies"). If update_wall_time() and calc_load() are always called with the constant one then you may be able to optimize these two functions as well. - 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/