Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755283AbXLBBx5 (ORCPT ); Sat, 1 Dec 2007 20:53:57 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753541AbXLBBxu (ORCPT ); Sat, 1 Dec 2007 20:53:50 -0500 Received: from terminus.zytor.com ([198.137.202.10]:33739 "EHLO terminus.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753385AbXLBBxu (ORCPT ); Sat, 1 Dec 2007 20:53:50 -0500 Message-ID: <47521010.7050309@zytor.com> Date: Sat, 01 Dec 2007 17:53:20 -0800 From: "H. Peter Anvin" User-Agent: Thunderbird 2.0.0.9 (X11/20071115) MIME-Version: 1.0 To: Alan Cox CC: Adrian Bunk , Andrew Morton , Linux Kernel Mailing List Subject: Re: [PATCH] Avoid overflows in kernel/time.c References: <200711300019.lAU0Jpbr003807@tazenda.hos.anvin.org> <20071201003333.GR29463@stusta.de> <20071201132047.2bf3c40c@the-village.bc.nu> In-Reply-To: <20071201132047.2bf3c40c@the-village.bc.nu> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 707 Lines: 19 Alan Cox wrote: > > Its visibile for people doing PAL media processing and TV sync work. > > Longer term we have high precision timers and tickless so for now we can > jut do the HZ == 300 math in steps to avoid the overflow. Slower but in > time it won't matter. > Just use the patch... I don't think a dependency on bc will be a problem for anyone (but it should, indeed, be documented -- together with everything else we haven't documented yet.) -hpa -- 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/