]> xenbits.xensource.com Git - qemu-xen-4.6-testing.git/commit
dma: fix incorrect bh scheduling
authorChunjie Zhu <chunjie.zhu@citrix.com>
Thu, 11 Dec 2014 12:18:02 +0000 (04:18 -0800)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Fri, 16 Oct 2015 15:52:06 +0000 (16:52 +0100)
commit9589b7b60719de9a8df7887a0c08f9813cd8c58d
treee670705a6e2230a41167491d7c8782c0677ab373
parent56464b49335de2a452b8bff44effe72c2d00a8df
dma: fix incorrect bh scheduling

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 <chunjie.zhu@citrix.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
dma-helpers.c