mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-13 20:12:26 +00:00
Don't pass -e on checkpoint restore. Add benchmarks to how much GEM5 is slower than QEMU. Rename Kernel boot command line arguments to match kernel docs name. Document how to pass extra options to GEM5. Start listing interesting benchmarks to run on GEM5. Add an openmp hello world.
= user Userland C programs used to test our kernel modules. `sh` programs are simpler, and installed by copying directly with an overlay. C programs require cross compiling, but give us more control over system calls. These programs can also be compiled and used on host. . Standalone .. link:hello.c[] .. link:myinsmod.c[] .. link:myrmmod.c[] .. link:usermem.c[] ... link:pagemap_dump.c[] .. inits .... link:sleep_forever.c[] .... link:poweroff.c[] .... link:init_dev_kmsg.c[] .. link:uio_read.c[] .. link:rand_check.c[] . Module tests .. link:anonymous_inode.c[] .. link:poll.c[] .. link:ioctl.c[]