[lkml]   [2005]   [Jun]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] deinline sleep/delay functions
On Thu, Jun 30, 2005 at 02:44:51PM +0300, Denis Vlasenko wrote:
> On Thursday 30 June 2005 14:21, Russell King wrote:
> > The maximum delay is dependent on the architecture implementation,
> > and it depends on bogomips. There is no one single value for it.
> > Architectures have to decide this from the way that they do the
> > math and the expected range of bogomips.
> In example I posted these limitations are lifted. Granted these
> limitations were not critical, but removing them can't do harm,
> I guess?

They're lifted poorly. You include a mandatory division in the path.
On systems where division has to be done in code, this is not acceptable,
especially when we're trying to get short delays on embedded CPUs
running below 100MHz. The time it takes to do the division could
swamp the required delay value.

Russell King
Linux kernel 2.6 ARM Linux -
maintainer of: 2.6 Serial core
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-06-30 14:09    [W:0.214 / U:0.084 seconds]
©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site