[Devel] [PATCH RHEL7 COMMIT] net: fix silly mistake with TCP cgroup memory pressure check

2017-05-26 Thread Konstantin Khorenko
The commit is pushed to "branch-rh7-3.10.0-514.16.1.vz7.32.x-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git after rh7-3.10.0-514.16.1.vz7.32.4 --> commit 4ce6f75421155583e24d9d763de8f48c2d3fec16 Author: Stanislav Kinsburskiy Date: Fri May 26

Re: [Devel] [PATCH] net: fix silly mistake with TCP cgroup memory pressure check

2017-05-26 Thread Andrey Ryabinin
On 05/26/2017 03:59 PM, Stanislav Kinsburskiy wrote: > Memmory pressure is referenced as a pointer in socket structure. > Simple check for pointer address will always return true for each socket, > allocated with enabled mem_cg. > Memory pressure value has to checked instead. > >

[Devel] [PATCH] net: fix silly mistake with TCP cgroup memory pressure check

2017-05-26 Thread Stanislav Kinsburskiy
Memmory pressure is referenced as a pointer in socket structure. Simple check for pointer address will always return true for each socket, allocated with enabled mem_cg. Memory pressure value has to checked instead. https://jira.sw.ru/browse/PSBM-66468 Signed-off-by: Stanislav Kinsburskiy