]> git.baikalelectronics.ru Git - kernel.git/commit
aio: try to complete poll iocbs without context switch
authorChristoph Hellwig <hch@lst.de>
Sun, 20 May 2018 17:19:30 +0000 (19:19 +0200)
committerChristoph Hellwig <hch@lst.de>
Sat, 26 May 2018 07:16:44 +0000 (09:16 +0200)
commitfbb53a44cfbe305ad93f939b3529b2d2995f7238
treeaec374beb42fb7e8d6dc95a602a1cd257df3ba82
parent6ab7d25eef36db6b566063c913abc5b0f53da39d
aio: try to complete poll iocbs without context switch

If we can acquire ctx_lock without spinning we can just remove our
iocb from the active_reqs list, and thus complete the iocbs from the
wakeup context.

Signed-off-by: Christoph Hellwig <hch@lst.de>
fs/aio.c