[Devel] [PATCH RH7] sysctl: make may_detach_mounts immutable in CT

2017-10-09 Thread Pavel Tikhomirov
Done similar to proc_dostring/dointvec_immutable, it is for docker as it wants to write these non virtualized sysctl and fails as these one is readonly in CT, docker does it to fix problems with docker container stop. We can just enable these sysctl on host for docker. Sysctl may_detach_mounts is

[Devel] [PATCH rh7] mm,fs: make vfs_cache_min_ratio=0 by default

2017-10-09 Thread Andrey Ryabinin
vfs_cache_min_ratio is a sysctl ported from PSBM-6. It supposed to increase performance, but it was noticed to do the opposite https://jira.sw.ru/browse/PSBM-68644. It supposed to protect slabs from reclaiming if their percentage is lower than the sysctl value (2% by default). However, it's not qu