]> 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)
commitd3868ce84004f7d3c988eaf2b9f8a80383b55f97
treeaec374beb42fb7e8d6dc95a602a1cd257df3ba82
parent60f20e6e3538d725687200a504fb9421a4cf6229
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