Skip to content

Instantly share code, notes, and snippets.

View derkling's full-sized avatar

Patrick Bellasi derkling

View GitHub Profile

Keybase proof

I hereby claim:

  • I am derkling on github.
  • I am derkling (https://keybase.io/derkling) on keybase.
  • I have a public key ASAnsY47_hg3lYaAuRll7_YHF5dkUP1sMvgHJVfzqTQuCQo

To claim this, I am signing this object:

Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c
index 54b5dd8dd46d..3cc3e76de129 100644
--- a/kernel/sched/fair.c
+++ b/kernel/sched/fair.c
@@ -6457,8 +6457,11 @@ static int find_energy_efficient_cpu(struct task_struct *p, int prev_cpu, int sy
if (cpu_cap < uclamp_task_util(p))
continue;
+ if (prefer_idle)
+ goto find_best_idle;
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

Spacemacs tangled user configuration

Introduction

This is a tangled user-init and user-config file for spacemacs. Place the following code in your ~/.spacemacs.d/init.el file.

Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.