Skip to content

Commit

Permalink
update pkg
Browse files Browse the repository at this point in the history
  • Loading branch information
UriHerrera committed May 30, 2024
1 parent e3ffc72 commit 0a16f86
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 38 deletions.
7 changes: 7 additions & 0 deletions debian/changelog
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
nx-desktop-settings-legacy (5.0.5) nitrux; urgency=medium

* Remove file from /etc/local.d.
* Add service script to apply the THP settings.

-- Uri Herrera <uri_herrera@nxos.org> Thu, 30 May 2024 05:18:00 -0500

nx-desktop-settings-legacy (5.0.4) nitrux; urgency=medium

* Set lower page lock unfariness to 1.
Expand Down
15 changes: 15 additions & 0 deletions etc/init.d/thp-settings
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
}
38 changes: 0 additions & 38 deletions etc/local.d/sysfs-settings.start

This file was deleted.

0 comments on commit 0a16f86

Please sign in to comment.