diff options
author | K. Y. Srinivasan <kys@microsoft.com> | 2012-12-01 09:46:53 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-01-17 14:39:15 -0500 |
commit | db11f12a11c9f04d504510e1cc20775209b0e509 (patch) | |
tree | 8c19d9cf2f84d8d395a240eda7386d92eed699fd /drivers/hv/hyperv_vmbus.h | |
parent | 01986313289bd2e143d693f803c7675ea121a832 (diff) |
Drivers: hv: Manage event tasklets on per-cpu basis
Now that we can potentially take vmbus interrupts on any CPU, make the
tasklets per-CPU.
Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Reviewed-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/hv/hyperv_vmbus.h')
-rw-r--r-- | drivers/hv/hyperv_vmbus.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/hv/hyperv_vmbus.h b/drivers/hv/hyperv_vmbus.h index 9135a6fcf3bd..becb106918d6 100644 --- a/drivers/hv/hyperv_vmbus.h +++ b/drivers/hv/hyperv_vmbus.h | |||
@@ -504,6 +504,12 @@ struct hv_context { | |||
504 | * Linux cpuid 'a'. | 504 | * Linux cpuid 'a'. |
505 | */ | 505 | */ |
506 | u32 vp_index[NR_CPUS]; | 506 | u32 vp_index[NR_CPUS]; |
507 | /* | ||
508 | * Starting with win8, we can take channel interrupts on any CPU; | ||
509 | * we will manage the tasklet that handles events on a per CPU | ||
510 | * basis. | ||
511 | */ | ||
512 | struct tasklet_struct *event_dpc[NR_CPUS]; | ||
507 | }; | 513 | }; |
508 | 514 | ||
509 | extern struct hv_context hv_context; | 515 | extern struct hv_context hv_context; |