summary refs log tree commit diff stats
path: root/docs/devel/secure-coding-practices.rst
diff options
context:
space:
mode:
authorStefan Hajnoczi <stefanha@redhat.com>2024-03-20 14:12:32 -0400
committerStefan Hajnoczi <stefanha@redhat.com>2024-03-21 13:14:30 -0400
commit9352f80cd926fe2dde7c89b93ee33bb0356ff40e (patch)
tree28c6bd08ea535c33c13f6a83f6c1b7d1080dbcbe /docs/devel/secure-coding-practices.rst
parentfea445e8fe9acea4f775a832815ee22bdf2b0222 (diff)
downloadfocaccia-qemu-9352f80cd926fe2dde7c89b93ee33bb0356ff40e.tar.gz
focaccia-qemu-9352f80cd926fe2dde7c89b93ee33bb0356ff40e.zip
coroutine: reserve 5,000 mappings
Daniel P. Berrangé <berrange@redhat.com> pointed out that the coroutine
pool size heuristic is very conservative. Instead of halving
max_map_count, he suggested reserving 5,000 mappings for non-coroutine
users based on observations of guests he has access to.

Fixes: 86a637e48104 ("coroutine: cap per-thread local pool size")
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Message-id: 20240320181232.1464819-1-stefanha@redhat.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'docs/devel/secure-coding-practices.rst')
0 files changed, 0 insertions, 0 deletions