A Beast of Different Nature
1. No libc
2. GNU C
1.Inline Function
2.Inline Assembly: asm() function.
3.Brach Annotation:
if (unlikely(foo)) {
}
if (likely(foo) {
}
3. No Memory Protection:
Additionally, Kernel memory is not Pageable. Therefore, every byte of memory you consume is one less bytes of available physical memory.
4. Small, Fixed-Size Stack
Each process receives its own stack(both in kernel space and user space).