[Devel] [PATCH RH8] ve/fs/binfmt: fix EBUSY on mounting second binfmt_misc in CT

2021-08-06 Thread Alexander Mikhalitsyn
After rebase to RHEL 8.4 binfmt_misc fs uses new fscontext API, our implementation is incorrect. We have to use get_tree_keyed() helper instead of get_tree_single() which allows only one superblock per HN. Fixes: 90fb0e274 ("ve/fs/binfmt: virtualization") https://jira.sw.ru/browse/PSBM-132709

[Devel] [PATCH RH7] memcg: force accounting to specifeid memcg

2021-08-06 Thread Vasily Averin
Currently some allocations can silently bypass accounting to root memcg. This happen for __GFP_ACCOUNT allocations and if current task got fatal signal. In vz8 and upstream this check was removed, and such allocations are accounted to specified memcg without any limits. I hope this helps to