[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4CDD0C3D.5070309@stericsson.com>
Date: Fri, 12 Nov 2010 10:43:25 +0100
From: Linus Walleij <linus.walleij@...ricsson.com>
To: john stultz <johnstul@...ibm.com>
Cc: "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
Thomas Gleixner <tglx@...utronix.de>,
Nicolas Pitre <nico@...xnic.net>,
"linux-arm-kernel@...ts.infradead.org"
<linux-arm-kernel@...ts.infradead.org>,
Colin Cross <ccross@...gle.com>,
Rabin VINCENT <rabin.vincent@...ricsson.com>
Subject: Re: [PATCH] RFC: nomadik: expand timesource to 63 bits
john stultz wrote:
> I would advise against expanding the hardware counter to 63bits via
> software at the clocksource layer. This breaks the
> CLOCK_SOURCE_IS_CONTINUOUS flag rule (since the hardware will wrap
> below the mask value if not updated in the software layer). And as
> Thomas said, this will cause problems in the nohz idle limiting code
> (which makes sure we wake up before the clocksource wraps).
Hm, yeah that's probably the wisest thing to do right now..
Then the Tegra code is not quite sound. It will probably experience
bad stuff like shaky clocksource when idling too long.
> Instead, I'd use this extension at the sched_clock level, where it
> seems reasonable that it will be called frequently enough to not brake
> the cnt32_to_63 magic.
Yeah we will do it like the Orion does.
Thanks!
Linus Walleij
--
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