commit | 837c5220557270e652d89f68a9fb12a5e72e8a7a | [log] [tgz] |
---|---|---|
author | Sebastian Ott <sebott@linux.vnet.ibm.com> | Tue Jul 19 10:43:26 2016 +0200 |
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | Sun Jul 31 05:27:57 2016 -0400 |
tree | ab60a16d9c19efc26e5a9253bcf96703cd1b65b7 | |
parent | bc29b7ac1d9f09f5024b0e257e91bf5df611ccd4 [diff] |
s390/cio: convert cfg_lock mutex to spinlock cfg_lock is never held long and we don't want to sleep while the lock is being held. Thus it can be converted to a simple spinlock. In addition we can now use the lock during the evaluation of a wake_up condition. Signed-off-by: Sebastian Ott <sebott@linux.vnet.ibm.com> Reviewed-by: Peter Oberparleiter <oberpar@linux.vnet.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>