[PATCH v2 0/4] Optimize mass closing of FDs on child spwaning

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

 



v2 of:

https://www.redhat.com/archives/libvir-list/2019-July/msg00089.html

diff to v1:
- Added a test for stats parsing,
- Added big fat warning as requested by Eric that malloc() in between
  fork() and exec() is okay with glibc (I guess we don't care about
  other libc-s like musl or uclibc).

Michal Prívozník (4):
  virNetDevOpenvswitchInterfaceStats: Optimize for speed
  test: Introduce virnetdevopenvswitchtest
  vircommand: Separate mass FD closing into a function
  virCommand: use procfs to learn opened FDs

 src/libvirt_private.syms                   |   1 +
 src/util/vircommand.c                      | 122 +++++++++++++++---
 src/util/virnetdevopenvswitch.c            | 136 +++++++++++++++------
 src/util/virnetdevopenvswitch.h            |   4 +
 tests/Makefile.am                          |  13 +-
 tests/virnetdevopenvswitchdata/stats1.json |   1 +
 tests/virnetdevopenvswitchdata/stats2.json |   1 +
 tests/virnetdevopenvswitchtest.c           | 101 +++++++++++++++
 8 files changed, 321 insertions(+), 58 deletions(-)
 create mode 100644 tests/virnetdevopenvswitchdata/stats1.json
 create mode 100644 tests/virnetdevopenvswitchdata/stats2.json
 create mode 100644 tests/virnetdevopenvswitchtest.c

-- 
2.21.0

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list




[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