Re: [PATCH] kvm: add halt_poll_ns module parameter

From: Xiao Guangrong
Date: Mon Feb 09 2015 - 03:23:17 EST




On 02/06/2015 08:48 PM, Paolo Bonzini wrote:


+unsigned int halt_poll_ns = 0;
+module_param(halt_poll_ns, uint, S_IRUGO | S_IWUSR);
+

Can we make this parameter be changeable? So that we can tune it
on the fly.

finish_wait(&vcpu->wq, &wait);
+ cur = ktime_get();

We can move this into the tracepoint to avoid the workload if the
tracepoint is not enabled.

Otherwise looks good to me.

Reviewed-by: Xiao Guangrong <guangrong.xiao@xxxxxxxxxxxxxxx>
--
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/