IT302/cache-lkm

Loadable kernel module that can disable caches on some Intel processors

★ 3Forks 0CGitHub ↗Compare
cachedisable-cachelinux-kernel-module

README

README

What is this repository for?

  • Linux loadable kernel module that disables caches on certain Intel processors.

How do I get set up?

  • Run make to build. Make sure you have Linux kernel headers installed on your system.
  • Run sudo insmod cache.ko to load module
  • Check kernel log to see if caches has been disabled. The module prints the contents of CR0. See Intel Software Developer Manual for the right value.
  • Run sudo rmmod cache to enable caches.

Contributors

IT302

Issues