[Devel] [PATCH] files-reg: Prepare for sysfs entries mode change

2018-01-15 Thread Cyrill Gorcunov
The kernel virtualize access to proc/sys/ entries in lightweight way -- if entry is opened from inside of veX then it's not allowed to be written. Still we're dumping files in ve0 environment so the mode for such files may no match on restore, because restore itself is running inside veX. |

[Devel] [PATCH v2] tcache: Close race between tcache_invalidate_node() and tcache_attach_page()

2018-01-15 Thread Kirill Tkhai
tcache_attach_page()tcache_invalidate_node() .. __tcache_lookup_node() .. __tcache_delete_node() Check node->invalidated .. tcache_page_tree_insert() .. tcache_lru_add().. ..

Re: [Devel] [PATCH RH7] ve/cgroup: hide ve and ub cgroups in CT

2018-01-15 Thread Cyrill Gorcunov
On Mon, Jan 15, 2018 at 02:50:10PM +0300, Pavel Tikhomirov wrote: > Reasons: > 1) We don't need to show these cgroups in CT, they are vz specific, > and nobody should use them inside. > 2) Docker from v17.11 checks that all cgroups are mounted, but we > don't mount beancounter and ve, thus docker

[Devel] [PATCH rh7] mm/page_alloc add warning about high order allocations.

2018-01-15 Thread Andrey Ryabinin
Add sysctl vm.warn_high_order. If set it will warn about about allocations with order >= vm.warn_high_order. Prints only 32 warning at most and skips all __GFP_NOWARN allocations. Disabled by default. https://jira.sw.ru/browse/PSBM-79892 Signed-off-by: Andrey Ryabinin

[Devel] [PATCH RH7] ve/cgroup: hide ve and ub cgroups in CT

2018-01-15 Thread Pavel Tikhomirov
Reasons: 1) We don't need to show these cgroups in CT, they are vz specific, and nobody should use them inside. 2) Docker from v17.11 checks that all cgroups are mounted, but we don't mount beancounter and ve, thus docker fails. Still show ve and ub for pseudosuper, so that these change does not

Re: [Devel] [PATCH criu-stable] vz7/cgroup: fix ifpriomap skip

2018-01-15 Thread Cyrill Gorcunov
On Mon, Jan 15, 2018 at 01:04:24PM +0300, Pavel Tikhomirov wrote: > "!(strcmp(...))==0" stands for does not match, but we need a match here > > fixes commit f06b39de5b7b ("vz7/cgroup: Skip for awhile ifpriomap > property restore") > > Signed-off-by: Pavel Tikhomirov

Re: [Devel] [PATCH] tcache: Close race between tcache_invalidate_node() and tcache_attach_page()

2018-01-15 Thread Kirill Tkhai
https://jira.sw.ru/browse/PSBM-80561 On 15.01.2018 14:29, Kirill Tkhai wrote: > tcache_attach_page() tcache_invalidate_node() > ..__tcache_lookup_node() > ..__tcache_delete_node() > Check node->invalidated .. >

[Devel] [PATCH] tcache: Close race between tcache_invalidate_node() and tcache_attach_page()

2018-01-15 Thread Kirill Tkhai
tcache_attach_page()tcache_invalidate_node() .. __tcache_lookup_node() .. __tcache_delete_node() Check node->invalidated .. tcache_page_tree_insert() .. tcache_lru_add().. ..

[Devel] [PATCH criu-stable] vz7/cgroup: fix ifpriomap skip

2018-01-15 Thread Pavel Tikhomirov
"!(strcmp(...))==0" stands for does not match, but we need a match here fixes commit f06b39de5b7b ("vz7/cgroup: Skip for awhile ifpriomap property restore") Signed-off-by: Pavel Tikhomirov --- criu/cgroup.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff