I used the below way to disable transparent hugepages. But they are restored (enabled again) after reboot.
echo never > /sys/kernel/mm/redhat_transparent_hugepage/defrag
echo no > /sys/kernel/mm/redhat_transparent_hugepage/khugepaged/defrag
How to keep those modified after reboot?
resolved^_^ Add them to the end of /etc/rc.local