linux/include
John Hawkes f5899b5d4f [IA64] disable preemption in udelay()
The udelay() inline for ia64 uses the ITC.  If CONFIG_PREEMPT is enabled
and the platform has unsynchronized ITCs and the calling task migrates
to another CPU while doing the udelay loop, then the effective delay may
be too short or very, very long.

This patch disables preemption around 100 usec chunks of the overall
desired udelay time.  This minimizes preemption-holdoffs.

udelay() is now too big to be inline, move it out of line and export it.

Signed-off-by: John Hawkes <hawkes@sgi.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
2005-12-16 10:00:24 -08:00
..
acpi
asm-alpha [PATCH] mm: fill arch atomic64 gaps 2005-11-23 16:08:39 -08:00
asm-arm [ARM] 3205/1: Handle new EABI relocations when loading kernel modules. 2005-12-14 22:04:22 +00:00
asm-arm26 [PATCH] atomic: inc_not_zero 2005-11-13 18:14:16 -08:00
asm-cris [PATCH] atomic: inc_not_zero 2005-11-13 18:14:16 -08:00
asm-frv [PATCH] FRV: Make the FRV arch work again 2005-11-28 14:42:23 -08:00
asm-generic Merge x86-64 update from Andi 2005-11-14 19:56:02 -08:00
asm-h8300 [PATCH] atomic: inc_not_zero 2005-11-13 18:14:16 -08:00
asm-i386 x86: Fix silly typo in recent <asm/signal.h> fixes 2005-11-17 10:04:31 -08:00
asm-ia64 [IA64] disable preemption in udelay() 2005-12-16 10:00:24 -08:00
asm-m32r [PATCH] m32r: M3A-2170(Mappi-III) IDE support 2005-11-28 14:42:24 -08:00
asm-m68k [PATCH] atomic: inc_not_zero 2005-11-13 18:14:16 -08:00
asm-m68knommu [PATCH] atomic: inc_not_zero 2005-11-13 18:14:16 -08:00
asm-mips [PATCH] ide: AU1200 IDE update 2005-12-15 02:17:46 +01:00
asm-parisc [PARISC] Always spinlock tlb flush operations to ensure preempt safety 2005-11-17 16:44:14 -05:00
asm-powerpc [PATCH] powerpc: Add missing icache flushes for hugepages 2005-12-09 16:30:48 +11:00
asm-ppc Merge branch 'mymerge' of ssh://ozlabs.org/home/sfr/kernel-sfr 2005-11-19 14:25:23 +11:00
asm-s390 [PATCH] atomic: inc_not_zero 2005-11-13 18:14:16 -08:00
asm-sh [PATCH] atomic: inc_not_zero 2005-11-13 18:14:16 -08:00
asm-sh64 [PATCH] atomic: inc_not_zero 2005-11-13 18:14:16 -08:00
asm-sparc [PATCH] sun4c_memerr_reg __iomem annotations 2005-12-15 10:01:29 -08:00
asm-sparc64 [PATCH] sparc: convert IO remapping to VM_PFNMAP 2005-11-28 14:35:36 -08:00
asm-um [PATCH] uml: eliminate anonymous union and clean up symlink lossage 2005-11-22 09:13:41 -08:00
asm-v850 [PATCH] v850: use generic hardirq code 2005-11-15 08:59:20 -08:00
asm-x86_64 [PATCH] mm: fill arch atomic64 gaps 2005-11-23 16:08:39 -08:00
asm-xtensa [PATCH] atomic: inc_not_zero 2005-11-13 18:14:16 -08:00
keys
linux [PATCH] ide: cleanup ide_driver_t 2005-12-15 02:20:15 +01:00
math-emu
media [PATCH] V4L/DVB: (3086c) Whitespaces cleanups part 4 2005-12-12 08:57:44 -08:00
mtd
net [DECNET]: add memory buffer settings 2005-12-05 13:42:06 -08:00
pcmcia
rdma
rxrpc
scsi [SCSI] Consolidate REQ_BLOCK_PC handling path (fix ipod panic) 2005-12-13 21:29:27 -08:00
sound
video