diff --git a/tuned-2.22.1-postgresql-disable-amd-instance.patch b/tuned-2.22.1-postgresql-disable-amd-instance.patch new file mode 100644 index 0000000..9493f56 --- /dev/null +++ b/tuned-2.22.1-postgresql-disable-amd-instance.patch @@ -0,0 +1,11 @@ +diff --git a/profiles/postgresql/tuned.conf b/profiles/postgresql/tuned.conf +index 88da8e4..4fd3810 100644 +--- a/profiles/postgresql/tuned.conf ++++ b/profiles/postgresql/tuned.conf +@@ -55,3 +55,6 @@ sched_min_granularity_ns = 10000000 + # "cache hot" and thus less likely to be re-migrated + # (system default is 500000, i.e. 0.5 ms) + sched_migration_cost_ns = 50000000 ++ ++[scheduler.amd] ++enabled=false diff --git a/tuned.spec b/tuned.spec index b0ca158..f0e089f 100644 --- a/tuned.spec +++ b/tuned.spec @@ -104,6 +104,8 @@ Patch3: tuned-2.22.1-sap-vm-max-map-count.patch Patch4: tuned-2.21.1-CVE-2024-52337.patch # Make hdparm device checks lazy (see RHEL-71457 for details) Patch5: tuned-2.22.1-use-hdparm-lazily.patch +# Disable the amd.scheduler plug-in instance in the postgresql profile (see RHEL-70470 for details) +Patch6: tuned-2.22.1-postgresql-disable-amd-instance.patch %description The tuned package contains a daemon that tunes system settings dynamically. @@ -579,6 +581,8 @@ fi * Mon Jan 06 2025 Pavol Žáčik - 2.22.1-6 - Make hdparm device checks lazy Resolves: RHEL-71457 +- Disable the amd.scheduler plug-in instance in the postgresql profile + Resolves: RHEL-70470 * Mon Nov 18 2024 Jaroslav Škarvada - 2.22.1-5 - Added sanity checks for API methods parameters, (CVE-2024-52337)