]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Implement proper support for complete_all() in the LinuxKPI.
authorHans Petter Selasky <hselasky@FreeBSD.org>
Fri, 9 Mar 2018 12:16:55 +0000 (12:16 +0000)
committerHans Petter Selasky <hselasky@FreeBSD.org>
Fri, 9 Mar 2018 12:16:55 +0000 (12:16 +0000)
commitbe15e1332d7b1bf5caf1ca2c3f0bc7cb9ad44793
tree34e4e16b1c94c68b3e736380802074c855404a9c
parentd1b671061b4f149f2175c931c62524a05e753aba
Implement proper support for complete_all() in the LinuxKPI.

When complete_all() is called there might be multiple waiters. The
current implementation could only handle one waiter. Make sure the
completion is sticky when complete_all() is called to be compatible
with Linux.

Found by: Johannes Lundberg <johalun0@gmail.com>
MFC after: 1 week
Sponsored by: Mellanox Technologies
Sponsored by: Limelight Networks
sys/compat/linuxkpi/common/src/linux_compat.c