]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Implement proper support for complete_all() in the LinuxKPI.
authorhselasky <hselasky@FreeBSD.org>
Fri, 9 Mar 2018 12:16:55 +0000 (12:16 +0000)
committerhselasky <hselasky@FreeBSD.org>
Fri, 9 Mar 2018 12:16:55 +0000 (12:16 +0000)
commit58bad4a91d9096d3a013d5a0e01d58f531de68b3
tree34e4e16b1c94c68b3e736380802074c855404a9c
parentb9207b4013fdae5bbd9378d1eaeea69fa4b61d5a
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