Re: [PATCH 0/5] Various cleanups to decrease amount of stack allocated buffers

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx>

Jano




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux