Re: [patch 14/21] Xen-paravirt: Add XEN config options and disable unsupported config options.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 02/16/2007 12:05 AM, Jeremy Fitzhardinge wrote:
Dan Hecht wrote:
On 02/15/2007 11:04 PM, Jeremy Fitzhardinge wrote:
HZ - I'm assuming dynticks will appear in the short term, and this will
become moot
Doesn't Xen send any non-blocked domain a 100hz alarm implicitly,
without anyway for the guest to disable it?  I guess you'll have to
break kernel/hypervisor compatibility if you want dynticks?

The timer VIRQ will generate events at a fixed 100Hz (which can be
masked, like any other event), but you can also ask for a timer event at
a particular time.  We do this already for tickless idle.

    J


Hmm? I thought the periodic timer and one-shot timer both generate the same VIRQ. So, how can you mask one without masking the other?

The tickless idle works since the block hypercall disables the periodic timer. But for dynticks (aka NO_HZ), you'll need to mask the periodic timer (even for a running vcpu), while keeping the one-shot timer unmasked. I don't think Xen provides an interface to do that.

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

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux