Skip to content

Instantly share code, notes, and snippets.

View pfactum's full-sized avatar

Oleksandr Natalenko pfactum

View GitHub Profile
kernel/sched/pds.c: In function ‘try_to_wake_up’:
kernel/sched/pds.c:2136:3: error: too few arguments to function ‘delayacct_blkio_end’
delayacct_blkio_end();
^~~~~~~~~~~~~~~~~~~
In file included from kernel/sched/pds.c:18:0:
./include/linux/delayacct.h:125:20: note: declared here
static inline void delayacct_blkio_end(struct task_struct *p)
^~~~~~~~~~~~~~~~~~~
kernel/sched/pds.c: In function ‘try_to_wake_up_local’:
kernel/sched/pds.c:2207:4: error: too few arguments to function ‘delayacct_blkio_end’
require ["vnd.dovecot.pipe", "copy", "imapsieve", "environment", "variables"];
if environment :matches "imap.user" "*" {
set "username" "${1}";
}
pipe :copy "sa-learn-spam.sh" [ "${username}" ];
$3 = {
mail = 0x563cf04d9668,
auth_user = 0x563cf045afa8 "oleksandr@natalenko.name",
id = 0x563cf04de7b4 "<0.0.6.7AA.1D37D4B5FDE48FE.0@suitepmta023032.emsmtp.us>",
envelope = {
mail_from = 0x0,
mail_params = 0x0,
rcpt_to = 0x0,
rcpt_params = 0x0
}
#0 0x00007fbe310ecbfc in sieve_extprogram_create (ext=0x563cf0486d90, senv=0x7ffd4962fb50, msgdata=0x7ffd4962fb10,
action=action@entry=0x7fbe310ed7c6 "pipe", program_name=<optimized out>, args=0x563cf04e2a18, error_r=0x7ffd4962f8ec)
at sieve-extprograms-common.c:562
#1 0x00007fbe310ea3aa in act_pipe_commit (action=0x563cf04e2aa8, aenv=0x563cf04e2798, tr_context=<optimized out>,
keep=0x7ffd4962f947) at cmd-pipe.c:333
#2 0x00007fbe3132d838 in sieve_result_action_commit (impl_keep=0x7ffd4962f947, rac=0x563cf04e2aa8, result=0x563cf04e2770)
at sieve-result.c:1206
#3 sieve_result_action_commit_or_rollback (result=result@entry=0x563cf04e2770, rac=rac@entry=0x563cf04e2aa8,
implicit_keep=implicit_keep@entry=0x7ffd4962f9b3, keep=keep@entry=0x563cf04e291c,
commit_status=commit_status@entry=0x7ffd4962f9b4, status=1) at sieve-result.c:1267
@pfactum
pfactum / -
Created December 6, 2017 19:30
diff --git a/kernel/sched/pds.c b/kernel/sched/pds.c
index 722f357a782b..b09ca71a90a1 100644
--- a/kernel/sched/pds.c
+++ b/kernel/sched/pds.c
@@ -6149,6 +6149,7 @@ static void sched_init_topology_cpumask(void)
#endif
sched_cpu_affinity_llc_end_masks[cpu] = chk;
+#ifdef CONFIG_SCHED_MC
/**

Keybase proof

I hereby claim:

  • I am pfactum on github.
  • I am pfactum (https://keybase.io/pfactum) on keybase.
  • I have a public key ASBTYi-2MLJIEh2zO1WC6qnxnEUwrMdu4tCVGu67U8Y7sAo

To claim this, I am signing this object:

Device (GPED)
{
Name (_ADR, Zero) // _ADR: Address
Name (_HID, "INT0002" /* Virtual GPIO Controller */) // _HID: Hardware ID
Name (_CID, "INT0002" /* Virtual GPIO Controller */) // _CID: Compatible ID
Name (_DDN, "Virtual GPIO controller") // _DDN: DOS Device Name
Name (_UID, One) // _UID: Unique ID
Name (INST, One)
Name (XTMP, Zero)
OperationRegion (SCIS, SystemMemory, 0xFED030C0, 0x04)
/*
* Intel ACPI Component Architecture
* AML/ASL+ Disassembler version 20170929 (64-bit version)
* Copyright (c) 2000 - 2017 Intel Corporation
*
* Disassembling to symbolic ASL+ operators
*
* Disassembly of dsdt.dat, Mon Nov 20 15:30:02 2017
*
* Original Table Header:
UEFI @ 0x0000000000000000
0000: 55 45 46 49 42 00 00 00 01 F4 50 54 4C 20 20 20 UEFIB.....PTL
0010: 43 4F 4D 42 55 46 00 00 01 00 00 00 50 54 4C 20 COMBUF......PTL
0020: 01 00 00 00 BE 96 E8 15 DF 0C E2 47 9B 97 A2 8A ...........G....
0030: 39 8B C7 65 36 00 02 00 00 00 A8 F6 41 B8 00 00 9..e6.......A...
0040: 00 00 ..
MCFG @ 0x0000000000000000
0000: 4D 43 46 47 3C 00 00 00 01 7A 44 45 4C 4C 20 20 MCFG<....zDELL
0010: 51 41 30 39 20 20 20 00 02 00 00 00 4C 4F 48 52 QA09 .....LOHR
#!/usr/bin/env bash
FILE="/sys/devices/system/cpu/cpu2/online"
while true; do
STATE=$(cat ${FILE})
if [[ "${STATE}" == "0" ]]; then
echo 1 >${FILE}
else