]> git.ipfire.org Git - thirdparty/libvirt.git/commit
meson: remove obsolete comment about stack frame size
authorDaniel P. Berrangé <berrange@redhat.com>
Thu, 8 Apr 2021 12:57:55 +0000 (13:57 +0100)
committerDaniel P. Berrangé <berrange@redhat.com>
Fri, 23 Apr 2021 15:12:53 +0000 (16:12 +0100)
commit2e85a83abee2982a7791e9b5d912af3799032bf6
treec5a3ff0813fc935faedf6a95827c70e2e7430866
parent36489081b09b63b462ed1f55355e279759a8effd
meson: remove obsolete comment about stack frame size

The virStrerror function no longer exists in libvirt so is not a
constraint. At the current stack limit of 4k, and default Linux
stack size of 8 MB, we have a recursion limit of 2048 in the
absolute worst case, and much higher in common case. Even with
smaller stack sizes, we're going to be fine as we don't deeply
recurse in code.

Thus it is not worth spending effort to optimize below our current
4k worst case limit. Removing the comment will stop encouraging
people to spend time on this in future.

Reviewed-by: Pavel Hrdina <phrdina@redhat.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
meson.build