User Tools

Site Tools


kernel

Linux kernel info and subpages – a ton of this needs to be updated or tossed at this point.

New topics page here.

Linux kernel subtopics

Networking topics (NEW)

Networking topics (OLD)

Debugging stuff

Upcoming topics

Kbuild system

  • “make xconfig” fails, pkg-config (Qt5)
  • /lib/modules/* files (modules.alias and so on)
  • include/linux/kconfig.h, macro checking and so on

Kernel data types

Modules

General

  • Is there a common wrapper for module_init(), module_exit()?

Basic modules

Parameters

initcalls

  • include/linux/init.h

EXPORT_SYMBOL, symbols

Device trees

System calls

Printing/debugging

  • pr_info, dev_dbg, netdev_dbg and so on
  • #define DEBUG
  • dynamic debugging

ERR_PTR, PTR_ERR, IS_ERR

Static analysis

  • sparse, cocci

uapi/ structure

  • Module loading configuration (/etc/modules-load.d)

systemd-udev

kernel space virtual memory

mmap

UIO

sysfs

  • What is the value of an attribute file with perms zero?

Timers

Standard timers

HR timers

Tickless kernel

Synchronization

mutex/semaphore

spinlock

completion

RCU

Driver model (kobjects)

kernel.txt · Last modified: 2019/04/07 10:11 by rpjday