grub2-mkconfig ignores GRUB_CMDLINE_LINUX configured parameters in /etc/default/grub

Solution Verified - Updated -

Issue

After addingtransparent_hugepage=never to GRUB_CMDLINE_LINUX in /etc/default/grub, grub configuration file was regenerated. Later on, system was rebooted. After reboot, transparent huge pages is still enabled:

# grep 'AnonHugePages' /proc/meminfo 
AnonHugePages:     12288 kB

Environment

  • Red Hat Enterprise Linux 7.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content