diff options
| author | Heiko Carstens <heiko.carstens@de.ibm.com> | 2015-08-17 07:59:47 +0200 |
|---|---|---|
| committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2015-08-19 10:40:26 +0200 |
| commit | e4e1899aaec0370aea6b98597ee6289d60544ae2 (patch) | |
| tree | a25d5c833d1f0d00a5ab87e2c50c205ee11e765e /scripts/patch-kernel | |
| parent | s390/hmcdrv: fix interrupt registration (diff) | |
| download | linux-e4e1899aaec0370aea6b98597ee6289d60544ae2.tar.gz linux-e4e1899aaec0370aea6b98597ee6289d60544ae2.zip | |
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 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions
