1

What is the use of three values in /sys/kernel/mm/transparent_hugepage/enabled

# cat /sys/kernel/mm/transparent_hugepage/enabled
always madvise [never]

From the post below know what these values mean ,but what is the purpose of having all three values.

CentOS 7 - When THP is disabled is it safe to ignore defrag setting?

AVS
  • 773
  • 1
  • 5
  • 10

1 Answers1

1

The enabled entry shows all possible values which can be set; the current setting is the one between square brackets. Since the available options can vary depending on the kernel configuration, it’s useful to see what they are.

Stephen Kitt
  • 411,918
  • 54
  • 1,065
  • 1,164