diff options
author | Alexander Usyskin <alexander.usyskin@intel.com> | 2018-02-25 21:07:05 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-03-14 21:33:13 +0300 |
commit | af336cabe08363ba8493e7d7e5d070353eb30caa (patch) | |
tree | 003025b642d6dcfab2a2f5ba220ce69ee69def65 /drivers/sbus | |
parent | 257355a44b9929e55d6fd47bfff66971dc4de948 (diff) | |
download | linux-af336cabe08363ba8493e7d7e5d070353eb30caa.tar.xz |
mei: limit the number of queued writes
Limit the number of queued writes per client.
Writes above this threshold are blocked till place
in the transmit queue is available.
The limit is configurable via sysfs and defaults to 50.
The implementation should provide blocking I/O behavior.
Prior to this change one would end up in the hands of OOM.
Signed-off-by: Alexander Usyskin <alexander.usyskin@intel.com>
Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/sbus')
0 files changed, 0 insertions, 0 deletions