Re: [PATCH] kvm-userspace: Make PC speaker emulation aware of in-kernel PIT

Anthony Liguori
2009-04-25T13:08:42Z

Marcelo Tosatti wrote:
> Jan,
>
> While the patch itself looks fine, IMO it would be better to move all of
> the timer handling to userspace, except the performance critical parts,
> since most of it is generic. Either periodic or one-shot timer, with:
>

The reason for having the PIT in-kernel is not performance. The PIT is
not performance sensitive.

It's because it was easier to do interrupt catch-up by pushing the PIT
into the kernel which IMHO was the wrong path to go down.

Regards,

Anthony Liguori