summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorLouis Burda <quent.burda@gmail.com>2023-01-25 20:21:40 +0100
committerLouis Burda <quent.burda@gmail.com>2023-01-25 20:21:40 +0100
commitcb7c6b3d6767335d13892451c141cfb717807712 (patch)
tree466ec00a60d6350aa51738870f4b73b4b5c90790 /Makefile
parent5975ec7b44887ad54417218251e669cca14bde80 (diff)
downloadcachepc-cb7c6b3d6767335d13892451c141cfb717807712.tar.gz
cachepc-cb7c6b3d6767335d13892451c141cfb717807712.zip
Use mfence instead of lfence for memory barrier
Diffstat (limited to 'Makefile')
-rwxr-xr-xMakefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index a223b0a..c54743e 100755
--- a/Makefile
+++ b/Makefile
@@ -57,7 +57,7 @@ load:
prep:
sudo sh -c "echo 0 > /proc/sys/kernel/watchdog"
sudo cpupower frequency-set -d 3.7GHz -u 3.7GHz
- sudo sh -c "echo 1 > /proc/irq/127/smp_affinity"
+ sudo bash -c "for f in /proc/irq/*/smp_affinity; do echo 1 > \$$f 2>/dev/null; done"
util/%: util/%.c $(CACHEPC_UAPI)