summaryrefslogtreecommitdiffstats
path: root/crypto/skcipher.c
diff options
context:
space:
mode:
authorTal Zilcer <talz@ezchip.com>2015-03-09 16:58:39 +0200
committerVineet Gupta <vgupta@synopsys.com>2016-05-09 09:32:33 +0530
commit46c3e6b8768643d9bc7325324d17e37781b7bbf8 (patch)
tree5445aadde2958c2ec23bc7947969e980208a481f /crypto/skcipher.c
parent86c25466f7414d6396f1aaa13e4b34f36ec272d5 (diff)
downloadop-kernel-dev-46c3e6b8768643d9bc7325324d17e37781b7bbf8.zip
op-kernel-dev-46c3e6b8768643d9bc7325324d17e37781b7bbf8.tar.gz
ARC: [plat-eznps] Use dedicated cpu_relax()
Since the CTOP is SMT hardware multi-threaded, we need to hint the HW that now will be a very good time to do a hardware thread context switching. This is done by issuing the schd.rw instruction (binary coded here so as to not require specific revision of GCC to build the kernel). sched.rw means that Thread becomes eligible for execution by the threads scheduler after all pending read/write transactions were completed. Implementing cpu_relax_lowlatency() with barrier() Since with current semantics of cpu_relax() it may take a while till yielded CPU will get back. Signed-off-by: Noam Camus <noamc@ezchip.com> Cc: Peter Zijlstra <peterz@infradead.org> Acked-by: Vineet Gupta <vgupta@synopsys.com>
Diffstat (limited to 'crypto/skcipher.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud