linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* a CGroup issue: a weird value in memory.memsw.limit_in_bytes
@ 2020-06-01  8:04 Toralf Förster
  0 siblings, 0 replies; only message in thread
From: Toralf Förster @ 2020-06-01  8:04 UTC (permalink / raw)
  To: Linux Kernel

I do wonder about this value:

# grep ^9 /sys/fs/cgroup/memory/*/*/memory.memsw.limit_in_bytes
/sys/fs/cgroup/memory/tinderbox/17.1_developer-20200531-193248/memory.memsw.limit_in_bytes:9223372036854771712
/sys/fs/cgroup/memory/tinderbox/17.1_developer-libressl-20200531-194547/memory.memsw.limit_in_bytes:9223372036854771712
/sys/fs/cgroup/memory/tinderbox/17.1_hardened-20200531-195425/memory.memsw.limit_in_bytes:9223372036854771712

which are about 2^12 below 2^63 :

# echo "2^63 - 9223372036854771712" | bc
4096

b/c I do write much smaller values into it:

https://github.com/toralf/tinderbox/blob/75fcbe43f58dadfab94fdd67aef1f681bb74f451/bin/bwrap.sh#L34

This happens not always, just realized it yesterday at few files.
--
Toralf

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-06-01  8:04 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-01  8:04 a CGroup issue: a weird value in memory.memsw.limit_in_bytes Toralf Förster

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).