https://github.com/sav/linux-kernel-bits
Yet another collection of Linux Kernel snippets
https://github.com/sav/linux-kernel-bits
linux-kernel linux-kernel-driver linux-kernel-hacking linux-kernel-module
Last synced: 6 months ago
JSON representation
Yet another collection of Linux Kernel snippets
- Host: GitHub
- URL: https://github.com/sav/linux-kernel-bits
- Owner: sav
- License: gpl-2.0
- Created: 2018-09-10T18:05:55.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-10-25T06:10:59.000Z (about 7 years ago)
- Last Synced: 2025-02-26T19:43:24.290Z (10 months ago)
- Topics: linux-kernel, linux-kernel-driver, linux-kernel-hacking, linux-kernel-module
- Language: C
- Homepage:
- Size: 151 KB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: COPYING
Awesome Lists containing this project
README
Linux Kernel Bits v0.0.1
========================
Yet another collection of Linux Kernel snippets. This code was crafted to work with `linux-kernel-4.18.x` only. You can find the latest version in the link below.
* http://github.com/sav/linux-kernel-bits
Build
-----
Please edit `config.mk` and set the variables accordingly then either pick your choice from `make help` or go ahead with `make Y=1`. The latter might take a really long time.
Modules
-------
* `defer_tasklet`: Defer to bottom half via *Tasklets*
* `defer_workqueue`: Defer to bottom half via *Workqueues*
* `defer_timer`: Defer to bottom half via *Timers*
* `lkb_dummie`: Dummie example module
Patches
-------
* `defer_softirq.patch`: Defer to bottom half via *Softirq*. Softirqs are statically compiled thus a patch instead of a module
Planned
-------
* `dbg_tracepoints`: debug via *trace/events/xxx.h*
* `rcu_list`: *RCU List* API usage example
* `rcu_tree`: *RCU Tree* API usage example
To-Do
-----
* *v0.0.2* Build UML along with the bootable image
* *v0.0.2* Use local source to build the modules