1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/pkg/sysinfo
Brian Goff df7031b669 Memoize seccomp value for SysInfo
As it turns out, we call this function every time someone calls `docker
info`, every time a contianer is created, and every time a container is
started.
Certainly this should be refactored as a whole, but for now, memoize the
seccomp value.

Signed-off-by: Brian Goff <cpuguy83@gmail.com>
2020-09-11 22:48:46 +00:00
..
cgroup2_linux.go pkg/sysinfo: rm duplicates 2020-06-26 16:19:52 -07:00
numcpu.go
numcpu_linux.go
numcpu_windows.go
README.md
sysinfo.go pkg/sysinfo: rm duplicates 2020-06-26 16:19:52 -07:00
sysinfo_linux.go Memoize seccomp value for SysInfo 2020-09-11 22:48:46 +00:00
sysinfo_linux_test.go bump gotest.tools v3.0.1 for compatibility with Go 1.14 2020-02-11 00:06:42 +01:00
sysinfo_test.go
sysinfo_unix.go cgroup2: implement docker info 2020-04-17 07:20:01 +09:00
sysinfo_windows.go cgroup2: implement docker info 2020-04-17 07:20:01 +09:00

SysInfo stores information about which features a kernel supports.