[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20100510182746.7e923812@infradead.org>
Date: Mon, 10 May 2010 18:27:46 -0700
From: Arjan van de Ven <arjan@...radead.org>
To: Andrew Morton <akpm@...ux-foundation.org>
Cc: linux-kernel@...r.kernel.org
Subject: Re: [PATCH 2/2] cpuidle: Add a repeating pattern detector to the
menu governor
On Mon, 10 May 2010 14:38:50 -0700
Andrew Morton <akpm@...ux-foundation.org> wrote:
> > + if (avg && stddev < STDDEV_THRESH)
> > + data->predicted_us = avg;
> > +}
>
> You got lucky there, because INTERVALS is a power of two. If someone
> changes INTERVALS to 7, this code will ask for __udivdi3 and won't
> link on i364.
yeah you'd think it almost isn't an accident ;-)
--
Arjan van de Ven Intel Open Source Technology Centre
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