Earlence Fernandes <earlenceferns at gmail.com> writes: > 1. In a kernel module, when we register the callback for a virtqueue, that > is executed > in interrupt context right? Yes. > 2. Can I call virtqueue_add_buf in interrupt context? You can, as long as you use GFP_ATOMIC. Cheers, Rusty.