[Xen-devel] [PATCH 11/32] dma: fix incorrect bh scheduling

2015-04-22 Thread Andrew Cooper
From: Chunjie Zhu The following 2 cases should be avoided: 1. DMAAIOCB has been released but continue_after_map_failure schedules a bh for it. 2. Multiple bh calls are schduled on the same DMAAIOCB. Signed-off-by: Chunjie Zhu Reviewed-by: Andrew Cooper --- dma-helpers.c | 16 +

[Xen-devel] [PATCH 11/32] dma: fix incorrect bh scheduling

2015-04-22 Thread Andrew Cooper
From: Chunjie Zhu The following 2 cases should be avoided: 1. DMAAIOCB has been released but continue_after_map_failure schedules a bh for it. 2. Multiple bh calls are schduled on the same DMAAIOCB. Signed-off-by: Chunjie Zhu Reviewed-by: Andrew Cooper --- dma-helpers.c | 16 +