[PATCH 0/5] Various cleanups to decrease amount of stack allocated buffers
Ján Tomko
jtomko at redhat.com
Thu Sep 8 14:48:08 UTC 2022
On a Thursday in 2022, Peter Krempa wrote:
>The common theme is the attempt to decrease the use of stack allocated
>buffers. In few cases it's coupled with outher cleanups too.
>
>Most patches are standalone and can be individually applied. The last
>patch is also optional but can be applied only if the fixes before that
>are applied too.
>
>Peter Krempa (5):
> lxc: virLXCProcessReadLogOutput: Automatically close FD
> lxc: process: Rework reading errors from the log file
> util: netdev: Dynamically allocate 'struct nlattr' in
> virNetDevSwitchdevFeature
> remote: dispatch: Allocate 'virDomainDef' in ACL helpers dynamically
> build: Decrease maximum stack frame size to 2048
>
> meson.build | 2 +-
> src/lxc/lxc_process.c | 100 ++++++++++++++++------------
> src/remote/remote_daemon_dispatch.c | 17 +++--
> src/util/virnetdev.c | 2 +-
> 4 files changed, 66 insertions(+), 55 deletions(-)
>
Reviewed-by: Ján Tomko <jtomko at redhat.com>
Jano
More information about the libvir-list
mailing list