An open API service indexing awesome lists of open source software.

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

Awesome Lists containing this project

README

          

# A trivial Linux kernel module to execute WBINVD on demand (`cat /proc/wbinvd`)
[![Build Status](https://travis-ci.org/batmac/wbinvd.svg?branch=master)](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
```