summaryrefslogtreecommitdiff
path: root/ipc
diff options
context:
space:
mode:
authorHeiko Carstens <heiko.carstens@de.ibm.com>2015-08-17 05:59:47 (GMT)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2015-08-19 08:40:26 (GMT)
commite4e1899aaec0370aea6b98597ee6289d60544ae2 (patch)
treea25d5c833d1f0d00a5ab87e2c50c205ee11e765e /ipc
parente619cd3d618672bea8602d682ea63b42a1faf1bc (diff)
downloadlinux-e4e1899aaec0370aea6b98597ee6289d60544ae2.tar.xz
s390/zcrypt: use msleep() instead of mdelay()
There is no need to busy loop and monopolize a cpu for up to ~2 seconds. The code in question that calls mdelay() is preemptible anyway, so better let the kernel schedule different processes than just looping and causing unnecessary delays. Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com> Acked-by: Martin Schwidefsky <schwidefsky@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'ipc')
0 files changed, 0 insertions, 0 deletions