https://github.com/batmac/wbinvd
A trivial Linux kernel module to execute WBINVD on demand
https://github.com/batmac/wbinvd
Last synced: 10 months ago
JSON representation
A trivial Linux kernel module to execute WBINVD on demand
- Host: GitHub
- URL: https://github.com/batmac/wbinvd
- Owner: batmac
- License: gpl-2.0
- Created: 2018-01-30T00:26:56.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2023-12-15T02:59:32.000Z (over 2 years ago)
- Last Synced: 2025-08-28T17:10:05.179Z (10 months ago)
- Language: C
- Size: 16.6 KB
- Stars: 25
- Watchers: 3
- Forks: 6
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# A trivial Linux kernel module to execute WBINVD on demand (`cat /proc/wbinvd`)
[](https://travis-ci.org/batmac/wbinvd)
WBINVD (Write Back and INValidate Cache) is a (ring 0 only) x86 instruction to asynchronously purge the cache (with write-back, so it is safe to execute)
more info about WBINVD: http://www.felixcloutier.com/x86/WBINVD.html
```sh
make && make test
```
one can use dkms to create a .deb, for instance:
```sh
make install-bdep
apt-get install dkms
cp -a /usr/src/wbinvd-1.0
rm -rf /usr/src/wbinvd-1.0/.git
dkms add wbinvd/1.0
make deb # or dkms mkdeb wbinvd/1.0 --source-only
```