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
All checks were successful
PikaOS Package Build & Release (amd64-v3) / build (push) Successful in 27s
This commit is contained in:
parent
4d2f4b3bc3
commit
6f08777b20
2
.github/release-nest-v3
vendored
2
.github/release-nest-v3
vendored
@ -1 +1 @@
|
||||
2
|
||||
1
|
||||
|
@ -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
|
||||
|
@ -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;
|
||||
|
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user