261
264
c. Enable CONFIG_CGROUP_MEM_RES_CTLR
262
265
d. Enable CONFIG_CGROUP_MEM_RES_CTLR_SWAP (to use swap extension)
268
272
2. Make the new group and move bash into it
272
276
Since now we're in the 0 cgroup, we can alter the memory limit:
275
279
NOTE: We can use a suffix (k, K, m, M, g or G) to indicate values in kilo,
276
280
mega or gigabytes. (Here, Kilo, Mega, Giga are Kibibytes, Mebibytes, Gibibytes.)