Tag Archives: kernel

Linux kernel linked list

This post gives a sample file used to play with Linux kernel linked list <linux/list.h>, as well as a makefile used to build this kernel module. lsmod, insmod, rmmod and dmesg are needed. The reference is the book “Operating System … Continue reading

Posted in OS | Tagged , , , | 2 Comments

Linux kernel compiling, updating and kernel module compiling, loading and removing

Brief intro to Linux kernel compiling and updating, as well as Linux kernel module compiling, loading and removing. The Linux kernel we are playing with is 3.8.4. 1. Linux kernel compiling and updating Ubuntu: sudo apt-get install wget sudo apt-get … Continue reading

Posted in OS | Tagged , , | Leave a comment

kernel design approaches

A digest for kernel-wide design from wikipedia (including ALL the pics and some definitions) 1. Monolithic kernel (宏内核) a: entire OS in kernel space and supervisor mode (eg, ring 0); b: a set of primitives or system calls for ALL … Continue reading

Posted in OS | Tagged , , , , , , , | Leave a comment