Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit ec6ce618 authored by Matthew Wilcox's avatar Matthew Wilcox
Browse files

NVMe: Need to lock queue during interrupt handling



If we're sharing a queue between multiple CPUs and we cancel a sync I/O,
we must have the queue locked to avoid corrupting the stack of the thread
that submitted the I/O.  It turns out this is the same locking that's needed
for the threaded irq handler, so share that code.

Signed-off-by: default avatarMatthew Wilcox <matthew.r.wilcox@intel.com>
parent 48e3d398
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment