Fix scx scheduler reactivation + improve info logging - actual fix it this time
All checks were successful
PikaOS Package Build & Release (amd64-v3) / build (push) Successful in 27s

This commit is contained in:
ferreo 2025-01-15 14:03:58 +00:00
parent 4d2f4b3bc3
commit 6f08777b20
5 changed files with 10 additions and 4 deletions

View File

@ -1 +1 @@
2
1

View File

@ -1,3 +1,9 @@
falcond (1.0.5-101pika1) pika; urgency=low
* Fix scx scheduler reactivation + improve info logging - actual fix it this time
-- ferreo <ferreo@pika-os.com> Sun, 12 Jan 2025 13:48:00 +0300
falcond (1.0.4-101pika1) pika; urgency=low
* Fix scx scheduler reactivation + improve info logging

View File

@ -15,7 +15,7 @@ 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 => {
if (vcache_mode == .none) {
if (vcache_mode != .none) {
std.log.info("AMD dual CCD 3D vcache support not detected", .{});
}
return;

View File

@ -86,7 +86,7 @@ pub const ProfileManager = struct {
}
vcache_setting.applyVCacheMode(.none);
try scx_scheds.deactivateScheduler(self.allocator);
scx_scheds.restorePreviousState(self.allocator);
self.active_profile = null;
if (self.queued_profiles.items.len > 0) {

View File

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