Fix scx scheduler reactivation + improve info logging
Some checks failed
PikaOS Package Build & Release (amd64-v3) / build (push) Failing after 19s
Some checks failed
PikaOS Package Build & Release (amd64-v3) / build (push) Failing after 19s
This commit is contained in:
parent
7c50b95d03
commit
92a359bb7d
2
.github/release-nest-v3
vendored
2
.github/release-nest-v3
vendored
@ -1 +1 @@
|
||||
3
|
||||
1
|
||||
|
@ -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
|
||||
|
@ -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 => {
|
||||
if (vcache_mode == .none) {
|
||||
std.log.info("AMD dual CCD 3D vcache support not detected", .{});
|
||||
}
|
||||
return;
|
||||
},
|
||||
else => {
|
||||
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user