[CRIU] [PATCH 0/4] c/r non-dev net syctls
Andrew Vagin
avagin at virtuozzo.com
Thu Jun 30 09:33:53 PDT 2016
This patch set killed zdtm.openvz.org:
time: Thu 30 Jun 2016 06:01:26 PM CEST
cmdline: BOOT_IMAGE=/vmlinuz-4.5.4-300.fc24.x86_64
root=/dev/mapper/fedora-root ro rd.lvm.lv=fedora/swap
rd.lvm.lv=fedora/root debug console=ttyS0,115200 console=tty0
crashkernel=128M LANG=en_US.UTF-8
abrt_version: 2.8.0
backtrace: BUG: Bad rss-counter state mm:ffff8800047d3b80 idx:1
val:-1
hostname: zdtm.openvz.org
kernel: 4.5.4-300.fc24.x86_64
last_occurrence: 1467302486
not-reportable: The backtrace does not contain enough meaningful
function frames to be reported. It is annoying but it does not necessary
signalize a problem with your computer. ABRT will not allow you to
create a report in a bug tracking system but you can contact kernel
maintainers via e-mail.
pkg_arch: x86_64
pkg_epoch: 0
pkg_name: kernel-core
pkg_release: 300.fc24
pkg_version: 4.5.4
runlevel: N 3
On Thu, Jun 30, 2016 at 06:52:16PM +0300, Pavel Tikhomirov wrote:
> This is a first try to migrate /proc/sys/net static sysctls -
> the ones on netns but not per-device. The same way can be applyed
> to all other static sysctls, but they need to be put on proper
> namespace image.
>
> I added full path to sysctl entry in protobuf as it is easier than
> hardcoding these entries in code, and I lookup them just before dump.
>
> Actually the test is not yet full as we need to find the right
> limits for a bunch of sysctls, now I use 0-default range for all,
> so some "high" values will not get in.
>
> /proc/sys/net/netfilter/nf_log/xx sysctls are hard to set - see
> patch 2/4 so skiping it for now, might need ms kernel fix.
>
> https://jira.sw.ru/browse/PSBM-48397
>
> Pavel Tikhomirov (4):
> sysctl: append '\0' in sysctl_read_char
> net/sysctl: c/r all except *.conf.* and *.neigh.*
> zdtm: add irand_range helper and use it in netns-dev test
> zdtm/sysctls: test all net.xxx except conf and neigh
>
> criu/include/sysctl.h | 16 ++
> criu/net.c | 211 +++++++++++++++++
> criu/sysctl.c | 125 +++++++++-
> images/netdev.proto | 14 +-
> images/sysctl.proto | 5 +
> test/zdtm/lib/Makefile | 2 +-
> test/zdtm/lib/randrange.c | 36 +++
> test/zdtm/lib/randrange.h | 13 ++
> test/zdtm/static/Makefile | 1 +
> test/zdtm/static/netns-dev.c | 46 +---
> test/zdtm/static/netns-sysctls.c | 442 ++++++++++++++++++++++++++++++++++++
> test/zdtm/static/netns-sysctls.desc | 1 +
> 12 files changed, 867 insertions(+), 45 deletions(-)
> create mode 100644 test/zdtm/lib/randrange.c
> create mode 100644 test/zdtm/lib/randrange.h
> create mode 100644 test/zdtm/static/netns-sysctls.c
> create mode 100644 test/zdtm/static/netns-sysctls.desc
>
> --
> 2.5.5
>
> _______________________________________________
> CRIU mailing list
> CRIU at openvz.org
> https://lists.openvz.org/mailman/listinfo/criu
More information about the CRIU
mailing list