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 |
---|---|---|
Kconfig | -rw-r--r-- | 3.0 KB |
Makefile | -rw-r--r-- | 707 bytes |
affinity.c | -rw-r--r-- | 8.8 KB |
autoprobe.c | -rw-r--r-- | 4.5 KB |
chip.c | -rw-r--r-- | 37.9 KB |
cpuhotplug.c | -rw-r--r-- | 6.1 KB |
debug.h | -rw-r--r-- | 1.2 KB |
debugfs.c | -rw-r--r-- | 7.3 KB |
devres.c | -rw-r--r-- | 8.1 KB |
dummychip.c | -rw-r--r-- | 1.3 KB |
generic-chip.c | -rw-r--r-- | 16.3 KB |
handle.c | -rw-r--r-- | 5.6 KB |
internals.h | -rw-r--r-- | 13.7 KB |
ipi.c | -rw-r--r-- | 9.2 KB |
irq_sim.c | -rw-r--r-- | 4.8 KB |
irqdesc.c | -rw-r--r-- | 22.9 KB |
irqdomain.c | -rw-r--r-- | 49.1 KB |
manage.c | -rw-r--r-- | 68.9 KB |
matrix.c | -rw-r--r-- | 13.0 KB |
migration.c | -rw-r--r-- | 3.1 KB |
msi.c | -rw-r--r-- | 13.7 KB |
pm.c | -rw-r--r-- | 5.2 KB |
proc.c | -rw-r--r-- | 12.6 KB |
resend.c | -rw-r--r-- | 2.4 KB |
settings.h | -rw-r--r-- | 4.4 KB |
spurious.c | -rw-r--r-- | 11.9 KB |
timings.c | -rw-r--r-- | 9.7 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...