The usage question about memory.kmem.limit_in_bytes

Asked by Cui Wei on 2016-04-10

After upgrading kernel from 4.2 to 4.4, I found out that both "memory.kmem.limit_in_bytes" and "memory.kmem.usage_in_bytes" become unusable: the former one cann't be written and the latter is also read with 0 value.

I want to ask the question that whether there will be no kmem any more, in other words:

If i set a the value of "memory.memsw.limit_in_bytes" to 4G, and set the value of "memory.limit_in_bytes" to 0G,

then whether the whole memory data of its controlled processes will be totally moved to swap disk?

Question information

English Edit question
Ubuntu linux Edit question
No assignee Edit question
Last query:
Last reply:

What is the output of:

lsb_release -a; uname -a


Cui Wei (ghostplant) said : #2


# lsb_release -a
Distributor ID: Ubuntu
Description: Ubuntu Xenial Xerus (development branch)
Release: 16.04
Codename: xenial

# uname -a
Linux ubuntu 4.4.0-18-generic #34-Ubuntu SMP Wed Apr 6 14:01:02 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

I suggest you report a bug. Xenial is prerelease but will be released shortly.

Can you help with this problem?

Provide an answer of your own, or ask Cui Wei for more information if necessary.

To post a message you must log in.