Re: [PATCH v6 2/2] KVM: Using workqueue for WBINVD

2010-06-30 Thread Marcelo Tosatti
On Wed, Jun 30, 2010 at 12:25:16PM +0800, Sheng Yang wrote: It would buy us the ability to schedule compared to smp_call_function(). Signed-off-by: Sheng Yang sh...@linux.intel.com --- But I am not sure if it worth the complexity. Anyway WBINVD itself can't be interrupted, so the benefit

[PATCH v6 2/2] KVM: Using workqueue for WBINVD

2010-06-29 Thread Sheng Yang
It would buy us the ability to schedule compared to smp_call_function(). Signed-off-by: Sheng Yang sh...@linux.intel.com --- But I am not sure if it worth the complexity. Anyway WBINVD itself can't be interrupted, so the benefit should come to the caller cpu I think. And that would extended the