You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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>
17 years ago
..
boot
Merge branch 'orion' into devel
17 years ago
common
…
configs
Merge branch 'pxa-plat' into devel
17 years ago
kernel
all archs: consolidate init and exit sections in vmlinux.lds.h
17 years ago
lib
…
mach-aaec2000
…
mach-at91
…
mach-clps711x
…
mach-clps7500
…
mach-davinci
…
mach-ebsa110
…
mach-ep93xx
Merge branches 'at91', 'ep93xx', 'iop', 'kprobes', 'ks8695', 'misc', 'msm', 's3c2410', 'sa1100' and 'vfp' into devel
17 years ago
mach-footbridge
…
mach-h720x
…
mach-imx
Remove references to "make dep"
17 years ago
mach-integrator
Merge branches 'at91', 'ep93xx', 'iop', 'kprobes', 'ks8695', 'misc', 'msm', 's3c2410', 'sa1100' and 'vfp' into devel
17 years ago
mach-iop13xx
…
mach-iop32x
…
mach-iop33x
…
mach-ixp4xx
Merge branches 'at91', 'ep93xx', 'iop', 'kprobes', 'ks8695', 'misc', 'msm', 's3c2410', 'sa1100' and 'vfp' into devel
17 years ago
mach-ixp23xx
…
mach-ixp2000
…
mach-ks8695
Merge branches 'at91', 'ep93xx', 'iop', 'kprobes', 'ks8695', 'misc', 'msm', 's3c2410', 'sa1100' and 'vfp' into devel
17 years ago
mach-l7200
…
mach-lh7a40x
…
mach-msm
…
mach-mx3
…
mach-netx
Remove references to "make dep"
17 years ago
mach-ns9xxx
…
mach-omap1
Merge branch 'pxa-plat' into devel
17 years ago
mach-omap2
Merge branch 'pxa-plat' into devel
17 years ago
mach-orion
…
mach-pnx4008
…
mach-pxa
Merge branch 'pxa-plat' into devel
17 years ago
mach-realview
…
mach-rpc
…
mach-s3c2400
…
mach-s3c2410
Merge branches 'at91', 'ep93xx', 'iop', 'kprobes', 'ks8695', 'misc', 'msm', 's3c2410', 'sa1100' and 'vfp' into devel
17 years ago
mach-s3c2412
[ARM] 4791/1: S3C2412: Make fclk a parent of msysclk
17 years ago
mach-s3c2440
[ARM] 4794/1: S3C24XX: Comonise S3C2440 and S3C2442 clock code
17 years ago
mach-s3c2442
[ARM] 4794/1: S3C24XX: Comonise S3C2440 and S3C2442 clock code
17 years ago
mach-s3c2443
…
mach-sa1100
Merge branches 'at91', 'ep93xx', 'iop', 'kprobes', 'ks8695', 'misc', 'msm', 's3c2410', 'sa1100' and 'vfp' into devel
17 years ago
mach-shark
…
mach-versatile
…
mm
Merge branch 'orion' into devel
17 years ago
nwfpe
…
oprofile
…
plat-iop
…
plat-mxc
…
plat-omap
Merge branch 'blk-end-request' of git://git.kernel.dk/linux-2.6-block
17 years ago
plat-s3c
…
plat-s3c24xx
[ARM] 4795/1: S3C244X: Add armclk and setparent call
17 years ago
tools
…
vfp
…
Kconfig
spinlock: lockbreak cleanup
17 years ago
Kconfig-nommu
…
Kconfig.debug
…
Kconfig.instrumentation
…
Makefile
Merge branch 'orion' into devel
17 years ago