summaryrefslogtreecommitdiff
path: root/crypto/crc32.c
diff options
context:
space:
mode:
authorGavin Shan <shangw@linux.vnet.ibm.com>2013-06-20 13:21:00 +0800
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2013-06-20 17:06:01 +1000
commitc86085580d5f60d2d3cea9c60d50e284558d3de7 (patch)
tree64a22c76cceb3d9c5e458a2d7c114bf40aae7a07 /crypto/crc32.c
parent26a74850b35d85a81155aa0e51211fbd6eecad25 (diff)
powerpc/eeh: Single kthread to handle events
We possiblly have multiple kthreads running for multiple EEH errors (events) and use one spinlock to make the process of handling those EEH events serialized. That's unnecessary and the patch creates only one kthread, which is started during EEH core initialization time in eeh_init(). A new semaphore introduced to count the number of existing EEH events in the queue and the kthread waiting on the semaphore. Signed-off-by: Gavin Shan <shangw@linux.vnet.ibm.com> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'crypto/crc32.c')
0 files changed, 0 insertions, 0 deletions