summaryrefslogtreecommitdiffstats
path: root/third_party/rust/num_cpus/fixtures/cgroups2
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 00:47:55 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 00:47:55 +0000
commit26a029d407be480d791972afb5975cf62c9360a6 (patch)
treef435a8308119effd964b339f76abb83a57c29483 /third_party/rust/num_cpus/fixtures/cgroups2
parentInitial commit. (diff)
downloadfirefox-26a029d407be480d791972afb5975cf62c9360a6.tar.xz
firefox-26a029d407be480d791972afb5975cf62c9360a6.zip
Adding upstream version 124.0.1.upstream/124.0.1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'third_party/rust/num_cpus/fixtures/cgroups2')
-rw-r--r--third_party/rust/num_cpus/fixtures/cgroups2/cgroups/ceil/cpu.max1
-rw-r--r--third_party/rust/num_cpus/fixtures/cgroups2/cgroups/good/cpu.max1
-rw-r--r--third_party/rust/num_cpus/fixtures/cgroups2/cgroups/zero-period/cpu.max1
-rw-r--r--third_party/rust/num_cpus/fixtures/cgroups2/proc/cgroups/cgroup2
-rw-r--r--third_party/rust/num_cpus/fixtures/cgroups2/proc/cgroups/cgroup_multi3
-rw-r--r--third_party/rust/num_cpus/fixtures/cgroups2/proc/cgroups/mountinfo5
6 files changed, 13 insertions, 0 deletions
diff --git a/third_party/rust/num_cpus/fixtures/cgroups2/cgroups/ceil/cpu.max b/third_party/rust/num_cpus/fixtures/cgroups2/cgroups/ceil/cpu.max
new file mode 100644
index 0000000000..833a8f2d3b
--- /dev/null
+++ b/third_party/rust/num_cpus/fixtures/cgroups2/cgroups/ceil/cpu.max
@@ -0,0 +1 @@
+150000 100000
diff --git a/third_party/rust/num_cpus/fixtures/cgroups2/cgroups/good/cpu.max b/third_party/rust/num_cpus/fixtures/cgroups2/cgroups/good/cpu.max
new file mode 100644
index 0000000000..e469067a61
--- /dev/null
+++ b/third_party/rust/num_cpus/fixtures/cgroups2/cgroups/good/cpu.max
@@ -0,0 +1 @@
+600000 100000
diff --git a/third_party/rust/num_cpus/fixtures/cgroups2/cgroups/zero-period/cpu.max b/third_party/rust/num_cpus/fixtures/cgroups2/cgroups/zero-period/cpu.max
new file mode 100644
index 0000000000..24e757f51c
--- /dev/null
+++ b/third_party/rust/num_cpus/fixtures/cgroups2/cgroups/zero-period/cpu.max
@@ -0,0 +1 @@
+600000 0
diff --git a/third_party/rust/num_cpus/fixtures/cgroups2/proc/cgroups/cgroup b/third_party/rust/num_cpus/fixtures/cgroups2/proc/cgroups/cgroup
new file mode 100644
index 0000000000..35b49db2c0
--- /dev/null
+++ b/third_party/rust/num_cpus/fixtures/cgroups2/proc/cgroups/cgroup
@@ -0,0 +1,2 @@
+12::/
+3::/user.slice
diff --git a/third_party/rust/num_cpus/fixtures/cgroups2/proc/cgroups/cgroup_multi b/third_party/rust/num_cpus/fixtures/cgroups2/proc/cgroups/cgroup_multi
new file mode 100644
index 0000000000..1a9282a6e4
--- /dev/null
+++ b/third_party/rust/num_cpus/fixtures/cgroups2/proc/cgroups/cgroup_multi
@@ -0,0 +1,3 @@
+12::/
+11:cpu,cpuacct:/
+3::/user.slice
diff --git a/third_party/rust/num_cpus/fixtures/cgroups2/proc/cgroups/mountinfo b/third_party/rust/num_cpus/fixtures/cgroups2/proc/cgroups/mountinfo
new file mode 100644
index 0000000000..da36e4102f
--- /dev/null
+++ b/third_party/rust/num_cpus/fixtures/cgroups2/proc/cgroups/mountinfo
@@ -0,0 +1,5 @@
+1 0 8:1 / / rw,noatime shared:1 - ext4 /dev/sda1 rw,errors=remount-ro,data=reordered
+2 1 0:1 / /dev rw,relatime shared:2 - devtmpfs udev rw,size=10240k,nr_inodes=16487629,mode=755
+3 1 0:2 / /proc rw,nosuid,nodev,noexec,relatime shared:3 - proc proc rw
+4 1 0:3 / /sys rw,nosuid,nodev,noexec,relatime shared:4 - sysfs sysfs rw
+5 4 0:4 / /sys/fs/cgroup rw,nosuid,nodev,noexec,relatime shared:5 - cgroup2 cgroup2 rw,nsdelegate,memory_recursiveprot