summaryrefslogtreecommitdiff
path: root/src/edit.c
AgeCommit message (Collapse)AuthorFilesLines
2006-11-13Initial import15.6-2Tobias Klauser1-0/+139
gt;2016-07-18 18:15:16 +0100 commitd97594e6bc1b4aaad3ccae3ef678513b63dd5221 (patch) tree921513cb42ad71bfb73eb1652d4158e3492f60df parent8c828a535e29f50282f1a49a52c3b20ccaa039aa (diff)
KVM: arm64: vgic-its: Generalize use of vgic_get_irq_kref
Instead of sprinkling raw kref_get() calls everytime we cannot do a normal vgic_get_irq(), use the existing vgic_get_irq_kref(), which does the same thing and is paired with a vgic_put_irq(). vgic_get_irq_kref is moved to vgic.h in order to be easily shared. Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Diffstat
a dedicated per-cpu workqueue created with create_singlethread_workqueue(), system_wq allows multiple work items to overlap executions even on the same CPU; however, a per-cpu workqueue doesn't have any CPU locality or global ordering guarantee unless the target CPU is explicitly specified and thus the increase of local concurrency shouldn't make any difference. Work item has been flushed in bfin_sport_spi_destroy_queue() to ensure that there are no pending tasks while disconnecting the driver. Signed-off-by: Bhaktipriya Shridhar <bhaktipriya96@gmail.com> Acked-by: Tejun Heo <tj@kernel.org> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat