Re: [libvirt] [PATCH v3] cgroup: Use system reported "unlimited" value for comparison

2016-12-07 Thread Viktor Mihajlovski
On 07.12.2016 07:51, Martin Kletzander wrote: > On Tue, Dec 06, 2016 at 01:03:29PM +0100, Viktor Mihajlovski > wrote: >> With kernel 3.18 (since commit >> 3e32cb2e0a12b6915056ff04601cf1bb9b44f967) the "unlimited" value >> for cgroup memory limits has changed once again as its byte value >> is now

Re: [libvirt] [PATCH v3] cgroup: Use system reported "unlimited" value for comparison

2016-12-06 Thread Martin Kletzander
On Tue, Dec 06, 2016 at 01:03:29PM +0100, Viktor Mihajlovski wrote: With kernel 3.18 (since commit 3e32cb2e0a12b6915056ff04601cf1bb9b44f967) the "unlimited" value for cgroup memory limits has changed once again as its byte value is now computed from a page counter. The new "unlimited" value

[libvirt] [PATCH v3] cgroup: Use system reported "unlimited" value for comparison

2016-12-06 Thread Viktor Mihajlovski
With kernel 3.18 (since commit 3e32cb2e0a12b6915056ff04601cf1bb9b44f967) the "unlimited" value for cgroup memory limits has changed once again as its byte value is now computed from a page counter. The new "unlimited" value reported by the cgroup fs is therefore 2**51-1 pages which is