Re: [PATCH] init/main.c: Use ktime accessor function in initcall_debugcode.

From: Tim Bird
Date: Thu Nov 20 2008 - 12:40:19 EST


Will Newton wrote:
> The initcall_debug code access the tv64 member of ktime. This won't work
> correctly for large deltas on platforms that don't use the scalar ktime
> implementation.

In principle I see no problem with this. But as a matter of
practice it may be overkill.

How big does the delta have to be for this to be a problem?
And how much overhead does ktime_to_ns() add?
-- Tim

=============================
Tim Bird
Architecture Group Chair, CE Linux Forum
Senior Staff Engineer, Sony Corporation of America
=============================

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/