aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/bus-virt-phys-mapping.txt
diff options
context:
space:
mode:
authorSven Eckelmann <sven.eckelmann@gmx.de>2010-11-22 06:34:50 -0500
committerGreg Kroah-Hartman <gregkh@suse.de>2010-11-29 13:53:14 -0500
commit9ee898739b7e4d292abed911008b3f91b442118a (patch)
treebcc05c7f9cf249b2391989a222e5e5f268886b4d /Documentation/bus-virt-phys-mapping.txt
parent6df78338e7af7960b67fa00aa2a5c63986a23d3c (diff)
Staging: batman-adv: Don't remove interface with spinlock held
We call a lot of the netdevice code when holding if_list_lock which will spin the whole time. This is not necessary because we only want to protect the access to the list to be serialized. An extra queue can be used which hold all interfaces which should be removed and then use that queue without any locks for netdevice cleanup. We create a "scheduling while atomic" Oops when calling different netdevice related functions inside a spinlock protected area on a preemtible kernel. Reported-by: Rafal Lesniak <lesniak@eresi-project.org> Signed-off-by: Sven Eckelmann <sven.eckelmann@gmx.de> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'Documentation/bus-virt-phys-mapping.txt')
0 files changed, 0 insertions, 0 deletions