summaryrefslogtreecommitdiffstats
path: root/kernel/kmod.c
diff options
context:
space:
mode:
authorFrank Haverkamp <haver@linux.vnet.ibm.com>2014-09-10 16:37:53 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-09-24 08:15:47 +0200
commit1451f414639465995dfc1f820aa1a64723cbd662 (patch)
treed1983ab9e5d532368ad82261295a78c114fa8514 /kernel/kmod.c
parentGenWQE: Fix problem when reading HSI and Retc (diff)
downloadlinux-1451f414639465995dfc1f820aa1a64723cbd662.tar.xz
linux-1451f414639465995dfc1f820aa1a64723cbd662.zip
GenWQE: Support blocking when DDCB queue is busy
When the GenWQE hardware queue was busy, the driver returned simply -EBUSY. This caused polling by applications which increased the load on the already busy system. This change implements the possiblity to sleep on a waitqueue instead when the DDCB queue is busy. The requestor is woken up when there is free space on the queue again. The old way to get -EBUSY is still available if the device is openend with O_NONBLOCKING. The default is now blocking behavior. Signed-off-by: Frank Haverkamp <haver@linux.vnet.ibm.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'kernel/kmod.c')
0 files changed, 0 insertions, 0 deletions