-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e3ffc72
commit 0a16f86
Showing
3 changed files
with
22 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
#!/sbin/openrc-run | ||
|
||
description="Set Transparent Huge Page Settings" | ||
|
||
start() { | ||
ebegin "Setting Transparent Huge Page Settings" | ||
echo "always" > /sys/kernel/mm/transparent_hugepage/enabled | ||
echo "0" > /sys/kernel/mm/transparent_hugepage/khugepaged/defrag | ||
eend $? "Failed to set Transparent Huge Page Settings" | ||
} | ||
|
||
stop() { | ||
# No need to do anything on stop | ||
return 0 | ||
} |
This file was deleted.
Oops, something went wrong.