Fix scx scheduler reactivation + improve info logging
Some checks failed
PikaOS Package Build & Release (amd64-v3) / build (push) Failing after 19s

This commit is contained in:
ferreo 2025-01-15 13:52:00 +00:00
parent 7c50b95d03
commit 92a359bb7d
5 changed files with 12 additions and 4 deletions

View File

@ -1 +1 @@
3
1

View File

@ -1,3 +1,9 @@
falcond (1.0.4-101pika1) pika; urgency=low
* Fix scx scheduler reactivation + improve info logging
-- ferreo <ferreo@pika-os.com> Sun, 12 Jan 2025 13:48:00 +0300
falcond (1.0.3-101pika1) pika; urgency=low
* Disable ananicy-cpp when scx sched is used, reneable when one is disabled

View File

@ -15,7 +15,9 @@ var previous_mode_buffer: [10]u8 = undefined;
pub fn applyVCacheMode(vcache_mode: VCacheMode) void {
const file = fs.openFileAbsolute(vcache_path, .{ .mode = .read_write }) catch |err| switch (err) {
error.FileNotFound => {
std.log.info("AMD dual CCD 3D vcache support not detected", .{});
if (vcache_mode == .none) {
std.log.info("AMD dual CCD 3D vcache support not detected", .{});
}
return;
},
else => {

View File

@ -108,7 +108,7 @@ pub const ProfileManager = struct {
}
vcache_setting.applyVCacheMode(.none);
try scx_scheds.deactivateScheduler(self.allocator);
try scx_scheds.restorePreviousState(self.allocator);
self.active_profile = null;
}
}

View File

@ -2,7 +2,7 @@
set -e
VERSION="1.0.3"
VERSION="1.0.4"
source ./pika-build-config.sh