Re: [PATCH] rfcomm: Convert spinlocks into mutexes

From: Marcel Holtmann
Date: Mon May 05 2014 - 22:25:54 EST


Hi Libor,

> Enabling CONFIG_DEBUG_ATOMIC_SLEEP has shown that some rfcomm functions
> acquiring spinlocks call sleeping locks further in the chain. Converting
> the offending spinlocks into mutexes makes sleeping safe.
>
> Signed-off-by: Libor Pechacek <lpechacek@xxxxxxx>
> ---
> include/net/bluetooth/rfcomm.h | 6 +++---
> net/bluetooth/rfcomm/core.c | 2 +-
> net/bluetooth/rfcomm/tty.c | 20 ++++++++++----------
> 3 files changed, 14 insertions(+), 14 deletions(-)

patch has been applied to bluetooth-next tree.

Regards

Marcel

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/