[1.] BUG when using memory.kmem.limit_in_bytes [2.] After upgrading to Ubuntu 15.04, I found that the kernel crashed when running regressions for Slurm (Workload Manager). I've narrowed it down to the setting of memory.kmem.limit_in_bytes in the cgroup. I'm able to reliably reproduce it on multiple machines using the attached script. I'm able to reproduce it on kernels 4.2.0, 4.3.3 and 4.4. I'm using the kernels from kernel.ubuntu.com. [3.] Keywords: kernel, cgroups [4.] Kernel information [4.1.] Kernel version (from /proc/version): brian@lappy:~$ cat /proc/version Linux version 4.4.0-040400-generic (kernel@gomeisa) (gcc version 5.2.1 20151010 (Ubuntu 5.2.1-22ubuntu2) ) #201601101930 SMP Mon Jan 11 00:32:41 UTC 2016 [4.2.] Kernel .config file: Attached. [5.] Most recent kernel version which did not have the bug: Ubuntu 15.04: Linux compy 3.19.0-42-generic #48-Ubuntu SMP Thu Dec 17 22:54:45 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux [6.] Output of Oops.. message (if applicable) with symbolic information resolved (see Documentation/oops-tracing.txt) Attached. bug_4_4.txt, bug_4_3.txt [7.] A small shell script or example program which triggers the problem (if possible) Attached cgroup_crash.pl. You might have to run it several times. I tail -f syslog in a separate window to see the backtrace. [8.] Environment [8.1.] Software (add the output of the ver_linux script here) Attached. [8.2.] Processor information (from /proc/cpuinfo): Attached. [8.3.] Module information (from /proc/modules): Attached. [8.4.] Loaded driver and hardware information (/proc/ioports, /proc/iomem) Attached. [8.5.] PCI information ('lspci -vvv' as root) Attached. [8.6.] SCSI information (from /proc/scsi/scsi) brian@lappy:~$ cat /proc/scsi/scsi Attached devices: brian@lappy:~$ [8.7.] Other information that might be relevant to the problem (please look in /proc and include all information that you think to be relevant): [X.] Other notes, patches, fixes, workarounds: Thanks, Brian