The usage question about memory.kmem.limit_in_bytes

Asked by Wei Tsui

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

Language:
English Edit question
Status:
Answered
For:
Ubuntu linux Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

What is the output of:

lsb_release -a; uname -a

Thanks

Revision history for this message
Wei Tsui (ghostplant) said :
#2

Thanks.

# 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

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#3

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 Wei Tsui for more information if necessary.

To post a message you must log in.