commit | b1ad171efa089ae26aba750d747d8149a4f860d5 | [log] [tgz] |
---|---|---|
author | Gerald Schaefer <gerald.schaefer@de.ibm.com> | Thu Apr 23 13:58:07 2009 +0200 |
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | Thu Apr 23 13:58:17 2009 +0200 |
tree | aecfd29ad345e2bc288c6e4ea046f7d559c87270 | |
parent | 3bd5f3ef290627efa3c219fa21a82eea90bc4cb0 [diff] |
[S390] appldata: avoid deadlock with appldata_mem The appldata_ops callbacks are called with a spin_lock held. But the appldata_mem callback then calls all_vm_events(), which calls get_online_cpus(), which might sleep. This possible deadlock is fixed by using a mutex instead of a spin_lock. Signed-off-by: Gerald Schaefer <gerald.schaefer@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>