zcat /proc/config.gz > .config
编译时不想看到垃圾信息:
make > ../detritus
make > /dev/null
提高编译效率:make -j32 > /dev/null (16核处理器)
make modules_install 将所以已编译的模块安装到正确的主目录/lib/modules
printf与printk之间的显著区别在于后者可以设置优先级标志,eg:printk(KERN_ERR "this is an error\n")
不要轻易在内核中使用浮点数,陷入
内核的栈大小是固定的,且容积很小
Linux内核可抢占
内核调度的对象是线程,而不是进程