Top "Linux-kernel" questions

This tag is for questions about the internals of the Linux kernel itself - particularly about writing code that runs within the context of the kernel (like kernel modules or drivers).

Context switch internals

I want to learn and fill gaps in my knowledge with the help of this question. So, a user is …

linux-kernel kernel scheduler context-switch
What are vdso and vsyscall?

I did sudo cat /proc/1/maps -vv I am attempting to make sense of the output.I can see a …

c linux linux-kernel kernel vdso
Using assertion in the Linux kernel

I have a question about assert() in Linux: can I use it in the kernel? If no, what techniques do …

linux linux-kernel assert assertions assertion
What does it mean by cold cache and warm cache concept?

I read a paper and it used terms cold cache and warm cache. I googled about this terms but I …

caching linux-kernel filesystems ext2
understanding pmap output

I was trying to see memory map of a process on Linux x86-64 using pmap -x command. I got …

linux linux-kernel pmap mmu
What is the interface for ARM system calls and where is it defined in the Linux kernel?

I have read about system calls in Linux, and everywhere description is given regarding x86 architecture (0x80 interrupt and SYSENTER). …

linux linux-kernel arm system-calls
How do I use ioctl() to manipulate my kernel module?

So I'm trying to write a kernel module that uses the linux/timer.h file. I got it to work …

linux linux-kernel kernel kernel-module gumstix
Signed executables under Linux

For security reasons, it is desirable to check the integrity of code before execution, avoiding tampered software by an attacker. …

linux security linux-kernel trusted-computing
Use of floating point in the Linux kernel

I am reading Robert Love's "Linux Kernel Development", and I came across the following passage: No (Easy) Use of Floating …

linux floating-point linux-kernel
How the util of iostat is computed?

iostat -x -d can display many i/o statistic info. For util of iostat, the explanation is : Percentage of CPU …

linux linux-kernel linux-device-driver