diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2017-09-15 16:49:42 +0200 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2017-09-15 16:49:42 +0200 |
commit | 0ec54810b823e59dc0afa7686aeac048f7eaebbf (patch) | |
tree | 6401b471e4bbdc0c544580a4898673318013054d /src/device.h | |
parent | Try out spinlocks for multiconsumer (diff) | |
download | wireguard-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.h | 1 |
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; |