Martins3.github.io icon indicating copy to clipboard operation
Martins3.github.io copied to clipboard

:book: Scratchpad about Linux, Compiler and Virtualization

Results 4 Martins3.github.io issues
Sort by recently updated
recently updated
newest added

```c int main(int argc, char *argv[]){ int i = 0 ; while(argv[i] != NULL){ printf("%s", argv[i]); i ++; } i ++; while(argv[i] != NULL){ printf("%s", argv[i]); i ++; } return...

code flow

## Question && Reading material - [x] dcache - [x] file-lock - [x] cgroup - [ ] irq - [ ] https://os.phil-opp.com/ : 用于理解CPU 这边的底层,一共三篇文章 - [ ] vmscan 和...

- [x] 如果之前映射了 vsyscall 也会出现错误,所以之前使用的是 vsyscall 吗 ? - [ ] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/arch/x86/entry/vsyscall/vsyscall_64.c?id=076ca272a14cea558b1092ec85cea08510283f2a - [x] 检查一下 gcc 的补丁的内容 - [x] 所以 getcpu 的实现 和 gtod 有什么不同吗 ? 为什么可以返回错误的数值 ? - [x]...

描述 : 首先加载一个内核模块到 /dev/hugepage_mod, 然后用户程序 ioctl 这个设备文件,但是设备实现有问题,在 ioctl 里面 oops 了,这会导致用户进程立刻收到 kill signal - [ ] 为什么内核模块出错,并不会导致整个 kernel dump - [ ] oops 做了那些工作 - [ ] kernel thread 被杀死的过程是什么...

code flow