[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20071129194027.10046988@laptopd505.fenrus.org>
Date: Thu, 29 Nov 2007 19:40:27 -0800
From: Arjan van de Ven <arjan@...radead.org>
To: "H. Peter Anvin" <hpa@...or.com>
Cc: Chris Snook <csnook@...hat.com>,
Andrew Morton <akpm@...ux-foundation.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] Avoid overflows in kernel/time.c
On Thu, 29 Nov 2007 19:04:36 -0800
"H. Peter Anvin" <hpa@...or.com> wrote:
> Chris Snook wrote:
> > H. Peter Anvin wrote:
> >> NOTE: This patch uses a bc(1) script to compute the appropriate
> >> constants.
> >
> > Perhaps dc would be more appropriate? That's included in busybox.
> >
>
> Perhaps it would, but I think there is more variability between dc
> implementations -- consider if the busybox version is broken, for
> eample.
>
> Either way, how many people compile their kernels in a busybox
> environment?
>
> Anyway, I don't think compiling bc is hard on anything which has a C
> compiler.
alternative is to just also ship the precomputed values ;-)
>
> -hpa
> -
> To unsubscribe from this list: send the line "unsubscribe
> linux-kernel" in the body of a message to majordomo@...r.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
--
If you want to reach me at my work email, use arjan@...ux.intel.com
For development, discussion and tips for power savings,
visit http://www.lesswatts.org
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists