Skip to content

Instantly share code, notes, and snippets.

View yskelg's full-sized avatar
🏠
Working from home

Yunseong Kim yskelg

🏠
Working from home
View GitHub Profile
@yskelg
yskelg / kprobe_insn_boundary-stall.txt
Created June 27, 2024 03:48
scripts/decode_stacktrace.sh /usr/lib/debug/boot/vmlinux-6.8.0-36-generic $HOME/linux-source-6.8.0 < kprobe_insn_boundary-stall.txt
rcu: INFO: rcu_sched detected stalls on CPUs/tasks:s:
rcu:
(detected by 0, t=6002 jiffies, g=24353, q=1 ncpus=1)1)
rcu: All QSes seen, last rcu_sched kthread activity 6002 (4294978930-4294972928), jiffies_till_next_fqs=1, root ->qsmask 0x0x0
rcu: rcu_sched kthread starved for 6002 jiffies! g24353 f0x2 RCU_GP_WAIT_FQS(5) ->state=0x0 ->cpu=0=0
rcu:
Unless rcu_sched kthread gets sufficient CPU time, OOM is now expected behavior.r.
rcu: RCU grace-period kthread stack dump:p:
task:rcu_sched state:R running task stack:0 pid:16 tgid:16 ppid:2 flags:0x0000000000
Call Trace:e:
@yskelg
yskelg / qdisc-null-ptr-deref.c
Last active June 21, 2024 16:06
Yun Levi and I submit the Linux kernel patch for fixing the NULL pointer dereference that can occur in perf trace events when using the veth and Bluetooth device. It's twice as fun working on it together! 💪 😎 😎 👍 kernel mailing list: https://lore.kernel.org/all/[email protected]/ bugzilla: https://bugzilla.redhat.com/show_bu…
// autogenerated by syzkaller (https://github.com/google/syzkaller)
#define _GNU_SOURCE
#include <endian.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/syscall.h>