On Mon, Jan 21, 2013 at 4:36 PM, John Stultz <john.stultz@xxxxxxxxxx> wrote:On 01/21/2013 01:14 PM, Matt Sealey wrote:Okay. I'm still a little confused as to what SCHED_HRTICK actuallyOr is this one of those things that if your platform doesn't have aSO HRITMERS was designed to be be build time enabled, while still giving you
real high resolution timer, you shouldn't enable HRTIMERS and
therefore not enable SCHED_HRTICK as a result? That affects
ARCH_MULTIPLATFORM here. Is the solution as simple as
ARCH_MULTIPLATFORM compliant platforms kind of have to have a high
resolution timer? Documentation to that effect?
a functioning system if it was booted on a system that didn't support
clockevents. We boot with standard HZ, and only switch over to HRT mode if
we have a proper clocksource and clockevent driver.
makes a difference to, though.
From that description, we are booting with standard HZ on ARM, and the
core sched_clock (as in we can call setup_sched_clock)
and/or/both/optionally using a real delay_timer switch to HRT mode if
we have the right equipment available in the kernel and at runtime on
the SoC.. but the process scheduler isn't compiled with the means to
actually take advantage of us being in HRT mode?