mm, memcg: reconsider kmem.limit_in_bytes deprecation
This reverts commits 86327e8e ("memcg: drop kmem.limit_in_bytes") and partially reverts 58056f77 ("memcg, kmem: further deprecate kmem.limit_in_bytes") which have incrementally removed support for the kernel memory accounting hard limit. Unfortunately it has turned out that there is still userspace depending on the existence of memory.kmem.limit_in_bytes [1]. The underlying functionality is not really required but the non-existent file just confuses the userspace which fails in the result. The patch to fix this on the userspace side has been submitted but it is hard to predict how it will propagate through the maze of 3rd party consumers of the software. Now, reverting alone 86327e8e is not an option because there is another set of userspace which cannot cope with ENOTSUPP returned when writing to the file. Therefore we have to go and revisit 58056f77 as well. There are two ways to go ahead. Either we give up on the deprecation a...
parent
ca56489c
Please register or sign in to comment