aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/device.h
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2017-09-15 16:49:42 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2017-09-15 16:49:42 +0200
commit0ec54810b823e59dc0afa7686aeac048f7eaebbf (patch)
tree6401b471e4bbdc0c544580a4898673318013054d /src/device.h
parentTry out spinlocks for multiconsumer (diff)
downloadwireguard-monolithic-historical-0ec54810b823e59dc0afa7686aeac048f7eaebbf.tar.xz
wireguard-monolithic-historical-0ec54810b823e59dc0afa7686aeac048f7eaebbf.zip
Try only advancing to next CPU if dql says sojd/spinlocks-dql
Diffstat (limited to 'src/device.h')
-rw-r--r--src/device.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/device.h b/src/device.h
index 9378b8b..cb9045e 100644
--- a/src/device.h
+++ b/src/device.h
@@ -30,6 +30,7 @@ struct crypt_queue {
union {
struct {
struct multicore_worker __percpu *worker;
+ struct dql dql;
int last_cpu;
};
struct work_struct work;