Revision 16b34aa44b257155d9392a19e08e4ce139bc2789 authored by Ronnie Sahlberg on 08 March 2019, 02:58:21 UTC, committed by Steve French on 15 March 2019, 00:32:35 UTC
Reserve the last MAX_COMPOUND credits for any request asking for >1 credit. This is to prevent future compound requests from becoming starved while waiting for potentially many requests is there is a large number of concurrent singe-credit requests. However, we need to protect from servers that are very slow to hand out new credits on new sessions so we only do this IFF there are 2*MAX_COMPOUND (arbitrary) credits already in flight. Signed-off-by: Ronnie Sahlberg <lsahlber@redhat.com> Signed-off-by: Steve French <stfrench@microsoft.com> Reviewed-by: Pavel Shilovsky <pshilov@microsoft.com>
1 parent b227d21
File | Mode | Size |
---|---|---|
6lowpan | ||
Kconfig | -rw-r--r-- | 986 bytes |
Makefile | -rw-r--r-- | 331 bytes |
core.c | -rw-r--r-- | 8.8 KB |
core.h | -rw-r--r-- | 1.3 KB |
header_ops.c | -rw-r--r-- | 6.8 KB |
ieee802154.h | -rw-r--r-- | 3.4 KB |
netlink.c | -rw-r--r-- | 4.6 KB |
nl-mac.c | -rw-r--r-- | 34.7 KB |
nl-phy.c | -rw-r--r-- | 8.0 KB |
nl802154.c | -rw-r--r-- | 66.8 KB |
nl802154.h | -rw-r--r-- | 193 bytes |
nl_policy.c | -rw-r--r-- | 3.3 KB |
rdev-ops.h | -rw-r--r-- | 8.8 KB |
socket.c | -rw-r--r-- | 23.7 KB |
sysfs.c | -rw-r--r-- | 2.6 KB |
sysfs.h | -rw-r--r-- | 233 bytes |
trace.c | -rw-r--r-- | 102 bytes |
trace.h | -rw-r--r-- | 8.2 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...