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
History
File Mode Size
.gitignore -rw-r--r-- 20 bytes
active_mm.rst -rw-r--r-- 3.8 KB
balance.rst -rw-r--r-- 5.3 KB
cleancache.rst -rw-r--r-- 14.0 KB
conf.py -rw-r--r-- 236 bytes
frontswap.rst -rw-r--r-- 15.1 KB
highmem.rst -rw-r--r-- 5.4 KB
hmm.rst -rw-r--r-- 18.3 KB
hugetlbfs_reserv.rst -rw-r--r-- 28.8 KB
hwpoison.rst -rw-r--r-- 6.0 KB
index.rst -rw-r--r-- 1.1 KB
ksm.rst -rw-r--r-- 3.4 KB
mmu_notifier.rst -rw-r--r-- 4.1 KB
numa.rst -rw-r--r-- 8.6 KB
overcommit-accounting.rst -rw-r--r-- 2.6 KB
page_frags.rst -rw-r--r-- 2.3 KB
page_migration.rst -rw-r--r-- 11.6 KB
page_owner.rst -rw-r--r-- 3.8 KB
remap_file_pages.rst -rw-r--r-- 1.6 KB
slub.rst -rw-r--r-- 13.5 KB
split_page_table_lock.rst -rw-r--r-- 3.6 KB
swap_numa.rst -rw-r--r-- 3.0 KB
transhuge.rst -rw-r--r-- 8.8 KB
unevictable-lru.rst -rw-r--r-- 29.2 KB
z3fold.rst -rw-r--r-- 1.2 KB
zsmalloc.rst -rw-r--r-- 3.0 KB
zswap.rst -rw-r--r-- 6.3 KB

back to top