2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-16 09:13:55 +08:00
linux-next/arch/s390/appldata
Gerald Schaefer b1ad171efa [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>
2009-04-23 13:58:17 +02:00
..
appldata_base.c [S390] appldata: avoid deadlock with appldata_mem 2009-04-23 13:58:17 +02:00
appldata_mem.c [S390] appldata: avoid deadlock with appldata_mem 2009-04-23 13:58:17 +02:00
appldata_net_sum.c netdev: introduce dev_get_stats() 2008-11-19 21:40:23 -08:00
appldata_os.c [S390] convert appldata printks to pr_xxx macros. 2008-12-25 13:39:22 +01:00
appldata.h [S390] convert appldata printks to pr_xxx macros. 2008-12-25 13:39:22 +01:00
Makefile Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00