Qiang Huang
50a6181005
Add minimum limit for memory reservation
...
Kernel has no limit for memory reservation, but in different
kernel versions, the default behavior is different.
On kernel 3.13,
docker run --rm --memory-reservation 1k busybox cat /sys/fs/cgroup/memory/memory.soft_limit_in_bytes
the output would be 4096, but on kernel 4.1, the output is 0.
Since we have minimum limit for memory and kernel memory, we
can have this limit for memory reservation as well, to make
the behavior consistent.
Signed-off-by: Qiang Huang <h.huangqiang@huawei.com >
2016-04-06 09:37:51 +08:00
..
2016-03-21 10:56:09 -07:00
2016-03-23 14:42:52 -07:00
2016-03-21 10:56:42 -07:00
2016-03-29 07:52:18 -07:00
2016-03-31 11:31:48 -07:00
2015-10-17 14:28:13 +02:00
2016-03-22 09:17:54 +08:00
2016-01-25 11:45:20 -08:00
2016-02-24 11:00:47 -08:00
2015-11-05 17:09:58 -05:00
2016-02-25 14:27:22 +01:00
2016-01-29 23:39:07 +08:00
2016-01-11 19:14:44 -05:00
2016-01-26 20:23:40 -08:00
2015-11-23 22:03:14 -05:00
2016-03-02 10:26:15 -08:00
2016-03-28 16:23:50 -04:00
2016-02-03 20:30:06 -08:00
2016-02-01 10:26:27 +08:00
2016-02-25 14:12:17 -05:00
2016-02-03 10:43:01 -08:00
2016-01-06 19:48:59 -05:00
2016-02-28 13:48:15 +01:00
2016-01-29 23:39:07 +08:00
2016-02-11 07:31:49 -08:00
2016-03-27 15:53:55 +03:00
2016-03-30 17:28:13 -04:00
2016-02-18 16:10:29 -05:00
2016-02-28 13:48:15 +01:00
2016-02-29 19:28:37 +08:00
2016-02-25 14:12:17 -05:00
2015-10-26 10:22:28 +08:00
2016-01-08 13:49:43 -08:00
2015-12-13 18:04:12 +02:00
2016-02-18 14:44:13 -08:00
2015-10-26 10:22:28 +08:00
2016-03-28 10:05:18 -04:00
2016-03-29 14:42:43 -07:00
2016-03-29 14:42:43 -07:00
2016-03-30 23:10:04 -07:00
2016-03-24 11:10:41 +01:00
2016-03-25 10:02:52 -04:00
2016-02-23 15:26:26 -05:00
2016-03-23 19:54:32 -07:00
2016-03-08 10:54:18 +08:00
2016-02-09 09:31:09 +02:00
2015-10-21 08:57:20 -04:00
2016-03-28 10:05:18 -04:00
2016-02-25 14:12:17 -05:00
2016-03-02 20:37:47 +00:00
2016-01-14 08:17:40 +00:00
2016-02-16 11:19:23 -08:00
2016-03-31 08:27:24 +02:00
2016-01-29 23:39:07 +08:00
2016-03-22 13:49:30 -07:00
2016-02-24 13:33:25 -08:00
2016-01-29 23:39:07 +08:00
2015-10-18 09:00:08 +08:00
2016-03-16 09:00:39 +01:00
2016-03-29 10:04:59 -07:00
2016-03-21 11:05:58 -04:00
2016-03-14 15:52:56 -07:00
2016-01-29 23:39:07 +08:00
2016-03-23 09:39:24 -04:00
2016-03-23 15:07:14 -04:00
2016-01-29 23:39:07 +08:00
2016-01-08 13:49:43 -08:00
2016-02-11 22:13:47 +00:00
2016-02-25 14:12:17 -05:00
2016-03-17 15:43:32 -07:00
2016-03-16 09:00:39 +01:00
2016-03-29 10:04:59 -07:00
2016-03-21 10:56:49 -07:00
2016-03-23 14:11:44 -04:00
2016-03-21 14:31:47 -07:00
2016-01-29 23:39:07 +08:00
2016-03-18 05:50:23 +00:00
2016-02-03 10:56:19 -08:00
2016-01-29 23:39:07 +08:00
2016-03-31 12:38:47 +02:00
2016-04-06 09:37:51 +08:00
2016-03-21 19:31:10 -07:00
2016-01-29 23:39:07 +08:00
2016-02-02 19:56:31 -08:00
2016-03-25 10:02:52 -04:00
2016-03-03 11:51:59 +01:00
2016-03-05 13:22:26 +08:00
2016-02-10 14:03:41 -08:00
2016-03-14 12:49:24 +01:00
2016-04-01 10:32:46 +08:00
2016-03-14 17:09:25 +02:00
2016-03-01 11:52:32 -08:00
2015-11-14 03:16:45 +00:00
2016-03-25 01:11:17 +00:00
2016-03-25 10:02:52 -04:00
2016-03-24 16:19:59 -07:00
2016-03-23 00:52:16 -04:00
2016-03-30 17:28:13 -04:00
2016-03-08 17:07:58 -05:00
2016-03-02 14:22:51 -08:00
2016-03-02 14:22:51 -08:00
2016-01-11 20:16:13 +01:00
2016-03-16 09:00:39 +01:00
2016-03-08 07:55:01 -08:00
2016-03-21 10:56:09 -07:00
2015-12-07 20:14:52 -05:00
2015-12-07 20:14:52 -05:00
2016-01-27 08:48:08 -08:00
2016-03-11 14:48:52 -08:00
2016-03-22 11:28:19 -07:00
2016-02-03 15:16:00 +01:00