linux-stable-rt/arch/arm
Nick Piggin 95c354fe9f spinlock: lockbreak cleanup
The break_lock data structure and code for spinlocks is quite nasty.
Not only does it double the size of a spinlock but it changes locking to
a potentially less optimal trylock.

Put all of that under CONFIG_GENERIC_LOCKBREAK, and introduce a
__raw_spin_is_contended that uses the lock data itself to determine whether
there are waiters on the lock, to be used if CONFIG_GENERIC_LOCKBREAK is
not set.

Rename need_lockbreak to spin_needbreak, make it use spin_is_contended to
decouple it from the spinlock implementation, and make it typesafe (rwlocks
do not have any need_lockbreak sites -- why do they even get bloated up
with that break_lock then?).

Signed-off-by: Nick Piggin <npiggin@suse.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
2008-01-30 13:31:20 +01:00
..
boot Merge branch 'orion' into devel 2008-01-28 13:21:30 +00:00
common
configs Merge branch 'pxa-plat' into devel 2008-01-28 13:21:38 +00:00
kernel all archs: consolidate init and exit sections in vmlinux.lds.h 2008-01-28 23:21:17 +01:00
lib
mach-aaec2000 [ARM] Fix timer damage from d3d74453c3 2008-01-28 10:17:12 +00:00
mach-at91 [ARM] 4615/4: sam926[13]ek buttons updated 2008-01-27 17:54:16 +00:00
mach-clps711x [ARM] Fix timer damage from d3d74453c3 2008-01-28 10:17:12 +00:00
mach-clps7500 [ARM] Fix timer damage from d3d74453c3 2008-01-28 10:17:12 +00:00
mach-davinci
mach-ebsa110 [ARM] Fix timer damage from d3d74453c3 2008-01-28 10:17:12 +00:00
mach-ep93xx Merge branches 'at91', 'ep93xx', 'iop', 'kprobes', 'ks8695', 'misc', 'msm', 's3c2410', 'sa1100' and 'vfp' into devel 2008-01-28 13:21:21 +00:00
mach-footbridge [ARM] Fix timer damage from d3d74453c3 2008-01-28 10:17:12 +00:00
mach-h720x [ARM] Fix timer damage from d3d74453c3 2008-01-28 10:17:12 +00:00
mach-imx Remove references to "make dep" 2008-01-28 23:22:13 +01:00
mach-integrator Merge branches 'at91', 'ep93xx', 'iop', 'kprobes', 'ks8695', 'misc', 'msm', 's3c2410', 'sa1100' and 'vfp' into devel 2008-01-28 13:21:21 +00:00
mach-iop13xx
mach-iop32x
mach-iop33x
mach-ixp4xx Merge branches 'at91', 'ep93xx', 'iop', 'kprobes', 'ks8695', 'misc', 'msm', 's3c2410', 'sa1100' and 'vfp' into devel 2008-01-28 13:21:21 +00:00
mach-ixp23xx
mach-ixp2000 [ARM] Fix timer damage from d3d74453c3 2008-01-28 10:17:12 +00:00
mach-ks8695 Merge branches 'at91', 'ep93xx', 'iop', 'kprobes', 'ks8695', 'misc', 'msm', 's3c2410', 'sa1100' and 'vfp' into devel 2008-01-28 13:21:21 +00:00
mach-l7200
mach-lh7a40x [ARM] Fix timer damage from d3d74453c3 2008-01-28 10:17:12 +00:00
mach-msm
mach-mx3 [ARM] Fix timer damage from d3d74453c3 2008-01-28 10:17:12 +00:00
mach-netx Remove references to "make dep" 2008-01-28 23:22:13 +01:00
mach-ns9xxx
mach-omap1 Merge branch 'pxa-plat' into devel 2008-01-28 13:21:38 +00:00
mach-omap2 Merge branch 'pxa-plat' into devel 2008-01-28 13:21:38 +00:00
mach-orion
mach-pnx4008 [ARM] Fix timer damage from d3d74453c3 2008-01-28 10:17:12 +00:00
mach-pxa Merge branch 'pxa-plat' into devel 2008-01-28 13:21:38 +00:00
mach-realview [ARM] Fix timer damage from d3d74453c3 2008-01-28 10:17:12 +00:00
mach-rpc
mach-s3c2400
mach-s3c2410 Merge branches 'at91', 'ep93xx', 'iop', 'kprobes', 'ks8695', 'misc', 'msm', 's3c2410', 'sa1100' and 'vfp' into devel 2008-01-28 13:21:21 +00:00
mach-s3c2412 [ARM] 4791/1: S3C2412: Make fclk a parent of msysclk 2008-01-28 13:20:52 +00:00
mach-s3c2440 [ARM] 4794/1: S3C24XX: Comonise S3C2440 and S3C2442 clock code 2008-01-28 13:20:52 +00:00
mach-s3c2442 [ARM] 4794/1: S3C24XX: Comonise S3C2440 and S3C2442 clock code 2008-01-28 13:20:52 +00:00
mach-s3c2443
mach-sa1100 Merge branches 'at91', 'ep93xx', 'iop', 'kprobes', 'ks8695', 'misc', 'msm', 's3c2410', 'sa1100' and 'vfp' into devel 2008-01-28 13:21:21 +00:00
mach-shark [ARM] Fix timer damage from d3d74453c3 2008-01-28 10:17:12 +00:00
mach-versatile
mm Merge branch 'orion' into devel 2008-01-28 13:21:30 +00:00
nwfpe
oprofile
plat-iop
plat-mxc
plat-omap Merge branch 'blk-end-request' of git://git.kernel.dk/linux-2.6-block 2008-01-29 08:51:32 +11:00
plat-s3c
plat-s3c24xx [ARM] 4795/1: S3C244X: Add armclk and setparent call 2008-01-28 13:20:52 +00:00
tools
vfp
Kconfig spinlock: lockbreak cleanup 2008-01-30 13:31:20 +01:00
Kconfig-nommu
Kconfig.debug
Kconfig.instrumentation ARM kprobes: let's enable it 2008-01-26 15:25:17 +00:00
Makefile Merge branch 'orion' into devel 2008-01-28 13:21:30 +00:00