Re: [patch 16/28] sparc: Remove BKL from apc

From: David Miller
Date: Tue Nov 03 2009 - 00:27:43 EST


From: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
Date: Sat, 10 Oct 2009 15:36:39 -0000

> commit ab772027 (sparc: arch/sparc/kernel/apc.c to unlocked_ioctl)
> added lock/unlock_kernel() to the apc ioctl code.
>
> The code needs no serialization at all. Neither put/get_user nor the
> read/write access to the sbus devices require it. Remove BKL.
>
> cycle_kernel_lock() was added during the big BKL pushdown. It should
> ensure the serializiation against driver init code. In this case there
> is nothing to serialize. Remove it as well.
>
> Signed-off-by: Thomas Gleixner <tglx@xxxxxxxxxxxxx>

Sorry, forgot to explicitly say I applied this to sparc-next-2.6, thanks.
--
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/