[Devel] [PATCH rh7 2/2] tcache: speedup tcaches operations on empty tcache.

2016-12-12 Thread Andrey Ryabinin
If tcache is empty we can bail out immediately from tcache_cleancache_[get_page, invalidate_page,invalidate_inode](). As a fast way of identifying empty tcache this patch adds global atomic counter of tcache nodes. https://jira.sw.ru/browse/PSBM-56475 Signed-off-by: Andrey Ryabinin --- mm/tcach

[Devel] [PATCH rh7 1/2] tcache: don't invalidate pages on unsuccessful put/inability to put

2016-12-12 Thread Andrey Ryabinin
This reverts commit 9a72c78a0e738571451596f68ab97940c24af611 ("tcache: invalidate page on unsuccessful put"). There is no need to invalidate the page on unsuccessful put, because we always put only uptodate pages in cleancache. If page becomes outdated clencache uses cleancache_invalidate_* to rem

[Devel] [PATCH] kexec: reserve 256+64 = 320M for debug kernels

2016-12-12 Thread Dmitry Safonov
It succeed on 256M kdumping, but fires OOM - set 320M limit. https://jira.sw.ru/browse/PSBM-56847 Cc: Andrey Ryabinin Signed-off-by: Dmitry Safonov --- include/asm-generic/kexec.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/asm-generic/kexec.h b/include/asm-gene

Re: [Devel] [PATCH RHEL7 COMMIT] ve/sched: Do not loose boosting during set_next_entity() called for not busted task

2016-12-12 Thread Kirill Tkhai
Konstantin, please, revert this. The patch is not correct, because we always dequeue boosted parents of current task, while it's running, and queue it back, when it's put. On 09.12.2016 15:11, Konstantin Khorenko wrote: > The commit is pushed to "branch-rh7-3.10.0-327.36.1.vz7.20.x-ovz" and will

[Devel] [PATCH criu] mount: clone a mount namespace to open a detached mount

2016-12-12 Thread Andrey Vagin
From: Andrei Vagin If we can't create a temporary directory for a detached mount, we can clone a whole mount namespace, open a mount and release the created namespace. The result will be the same. https://jira.sw.ru/browse/PSBM-57135 Signed-off-by: Andrei Vagin --- criu/mount.c | 18 ++