global percpu data 是我近期向 BPF 社区贡献的一个特性:类似于 int data SEC(".data") 这样的全局变量,实现了 int pdata SEC(".percpu") per-CPU 的全局变量。 bpf: Introduce global percpu data Demo percpu data 不限制程序类型,任何程序类型都能
python/cpython: Running python REPL under another program + Ctrl-C results in an exception traceback Gray 大佬已排查到关键之处: As I mentioned, kernel forbids background processes to call tcsetattr(TCSADRAIN), so the following syscall for sure failed: 1 20:18:26 ioctl(3, TCGETS, ...}) = -1 EIO (Input/output error) <0.000007> 但但但是,我确实不知道内核会有如