kernel_optimize_test/include/asm-x86
Nick Piggin 16dbc6c961 inotify: fix lock ordering wrt do_page_fault's mmap_sem
Fix inotify lock order reversal with mmap_sem due to holding locks over
copy_to_user.

Signed-off-by: Nick Piggin <npiggin@suse.de>
Reported-by: "Daniel J Blueman" <daniel.blueman@gmail.com>
Tested-by: "Daniel J Blueman" <daniel.blueman@gmail.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2008-10-02 15:53:13 -07:00
..
mach-bigsmp
mach-default x86: convert Dprintk to pr_debug 2008-07-21 21:35:38 +02:00
mach-es7000
mach-generic
mach-numaq
mach-rdc321x
mach-summit x86: fix IBM Summit based systems' phys_cpu_present_map on 32-bit kernels 2008-07-26 14:58:39 +02:00
mach-voyager
uv x86, SGI UV: hardcode the TLB flush interrupt system vector 2008-08-20 12:36:03 +02:00
visws
xen removed unused #include <linux/version.h>'s 2008-08-23 12:14:12 -07:00
a.out-core.h
a.out.h
acpi.h x86: prevent C-states hang on AMD C1E enabled machines 2008-09-23 11:38:53 +02:00
agp.h
alternative-asm.h
alternative.h
amd_iommu_types.h x86m AMD IOMMU: cleanup: replace LOW_U32 macro with generic lower_32_bits 2008-08-15 13:56:56 +02:00
amd_iommu.h
apic.h x86: convert Dprintk to pr_debug 2008-07-21 21:35:38 +02:00
apicdef.h
arch_hooks.h
asm.h
atomic_32.h
atomic_64.h x86: correct register constraints for 64-bit atomic operations 2008-08-18 07:47:30 +02:00
atomic.h
auxvec.h
bios_ebda.h
bitops.h
boot.h
bootparam.h
bug.h
bugs.h
byteorder.h
cache.h
cacheflush.h
calgary.h
calling.h
checksum_32.h
checksum_64.h
checksum.h
cmpxchg_32.h
cmpxchg_64.h
cmpxchg.h
compat.h
cpu.h
cpufeature.h x86: prevent C-states hang on AMD C1E enabled machines 2008-09-23 11:38:53 +02:00
cputime.h
current.h
debugreg.h
delay.h
desc_defs.h
desc.h
device.h dma-mapping: add the device argument to dma_mapping_error() 2008-07-26 12:00:03 -07:00
div64.h
dma-mapping.h Merge branch 'linus' into core/generic-dma-coherent 2008-07-29 00:07:55 +02:00
dma.h
dmi.h
ds.h
dwarf2.h
e820.h
edac.h
efi.h EFI, x86: fix function prototype 2008-08-11 18:50:19 +02:00
elf.h
emergency-restart.h
errno.h
fb.h
fcntl.h
fixmap_32.h
fixmap_64.h
fixmap.h
floppy.h
frame.h
ftrace.h
futex.h
gart.h
genapic_32.h x86: fix section mismatch warning - uv_cpu_init 2008-08-22 14:12:20 +02:00
genapic_64.h x86: fix section mismatch warning - uv_cpu_init 2008-08-22 14:12:20 +02:00
genapic.h
geode.h x86, geode-mfgpt: check IRQ before using MFGPT as clocksource 2008-08-15 17:12:32 +02:00
gpio.h x86, RDC321x: remove gpio.h complications 2008-07-26 14:50:51 +02:00
hardirq_32.h
hardirq_64.h
hardirq.h
highmem.h
hpet.h
hugetlb.h hugetlb: modular state for hugetlb page size 2008-07-24 10:47:17 -07:00
hw_irq.h x86: Restore proper vector locking during cpu hotplug 2008-08-11 10:37:34 +02:00
hypertransport.h
i387.h Merge branch 'x86/amd-iommu' into x86/urgent 2008-08-15 13:57:32 +02:00
i8253.h
i8259.h
ia32_unistd.h
ia32.h
idle.h x86: prevent stale state of c1e_mask across CPU offline/online 2008-09-23 11:38:52 +02:00
intel_arch_perfmon.h
io_32.h access_process_vm device memory infrastructure 2008-07-24 10:47:15 -07:00
io_64.h access_process_vm device memory infrastructure 2008-07-24 10:47:15 -07:00
io_apic.h
io.h x86: fix readb() et al compile error with gcc-3.2.3 2008-08-15 14:30:32 +02:00
ioctl.h
ioctls.h
iommu.h generic, x86: fix add iommu_num_pages helper function 2008-07-29 12:12:48 +02:00
ipcbuf.h
ipi.h
irq_regs_32.h
irq_regs_64.h
irq_regs.h
irq_vectors.h x86, SGI UV: hardcode the TLB flush interrupt system vector 2008-08-20 12:36:03 +02:00
irq.h
irqflags.h
ist.h
k8.h
Kbuild Merge git://git.infradead.org/~dwmw2/random-2.6 2008-07-25 12:01:37 -07:00
kdebug.h
kexec.h kexec jump: check code size in control page 2008-08-15 08:35:42 -07:00
kgdb.h kgdb, x86_64: fix PS CS SS registers in gdb serial 2008-09-26 10:36:42 -05:00
kmap_types.h
kprobes.h
kvm_host.h KVM: Use .fixup instead of .text.fixup on __kvm_handle_fault_on_reboot 2008-08-25 17:22:57 +03:00
kvm_para.h
kvm_x86_emulate.h
kvm.h
ldt.h
lguest_hcall.h
lguest.h
linkage.h
local.h
math_emu.h
mc146818rtc.h
mca_dma.h
mca.h
mce.h x86 MCE: Fix CPU hotplug problem with multiple multicore AMD CPUs 2008-08-23 17:49:19 +02:00
mman.h x86: add MAP_STACK mmap flag 2008-08-15 11:45:19 -07:00
mmconfig.h x86: mmconf: fix section mismatch warning 2008-08-18 07:49:06 +02:00
mmu_context_32.h
mmu_context_64.h
mmu_context.h
mmu.h
mmx.h
mmzone_32.h x86: propagate new nonpanic bootmem macros to CONFIG_HAVE_ARCH_BOOTMEM_NODE 2008-08-13 11:57:18 +02:00
mmzone_64.h
mmzone.h
module.h
mpspec_def.h
mpspec.h
msgbuf.h
msidef.h
msr-index.h
msr.h x86: msr: fix bogus return values from rdmsr_safe/wrmsr_safe 2008-08-25 22:39:15 -07:00
mtrr.h
mutex_32.h
mutex_64.h
mutex.h
nmi.h
nops.h
numa_32.h
numa_64.h
numa.h
numaq.h
olpc.h
page_32.h
page_64.h
page.h PAGE_ALIGN(): correctly handle 64-bit values on 32-bit architectures 2008-07-24 10:47:21 -07:00
param.h
paravirt.h x86: rename PTE_MASK to PTE_PFN_MASK 2008-07-22 10:43:44 +02:00
parport.h
pat.h
pci_32.h
pci_64.h
pci-direct.h
pci.h
pda.h
percpu.h x86, percpu: silence section mismatch warnings related to EARLY_PER_CPU variables 2008-08-18 09:10:55 +02:00
pgalloc.h
pgtable_32.h x86: add PTE_FLAGS_MASK 2008-07-22 10:43:45 +02:00
pgtable_64.h x86-64: fix overlap of modules and fixmap areas 2008-08-15 17:31:50 +02:00
pgtable-2level-defs.h
pgtable-2level.h
pgtable-3level-defs.h
pgtable-3level.h x86: rename PTE_MASK to PTE_PFN_MASK 2008-07-22 10:43:44 +02:00
pgtable.h x86: implement pte_special 2008-07-26 12:00:05 -07:00
poll.h
posix_types_32.h
posix_types_64.h
posix_types.h
prctl.h
processor-cyrix.h
processor-flags.h x86: fix header export, asm-x86/processor-flags.h, CONFIG_* leaks 2008-07-24 12:49:53 +02:00
processor.h x86: invalidate caches before going into suspend 2008-08-15 14:04:30 +02:00
proto.h
ptrace-abi.h
ptrace.h
pvclock-abi.h
pvclock.h
reboot_fixups.h
reboot.h
required-features.h x86: add NOPL as a synthetic CPU feature bit 2008-09-05 16:13:52 -07:00
resource.h
resume-trace.h
rio.h
rtc.h
rwlock.h
rwsem.h
scatterlist.h
seccomp_32.h
seccomp_64.h
seccomp.h
sections.h
segment.h
sembuf.h
serial.h
setup.h
shmbuf.h
shmparam.h
sigcontext.h
sigcontext32.h
siginfo.h
signal.h
smp.h
socket.h
sockios.h
sparsemem.h
spinlock_types.h
spinlock.h x86: fix spin_is_contended() 2008-08-15 16:26:51 +02:00
srat.h
stacktrace.h
stat.h
statfs.h
string_32.h
string_64.h
string.h
suspend_32.h
suspend_64.h
suspend.h
swiotlb.h dma-mapping: add the device argument to dma_mapping_error() 2008-07-26 12:00:03 -07:00
sync_bitops.h
system_64.h
system.h
tce.h
termbits.h
termios.h
therm_throt.h
thread_info.h clean up duplicated alloc/free_thread_info 2008-07-25 10:53:28 -07:00
time.h
timer.h
timex.h
tlb.h
tlbflush.h
topology.h
trampoline.h
traps.h
tsc.h
types.h
uaccess_32.h
uaccess_64.h inotify: fix lock ordering wrt do_page_fault's mmap_sem 2008-10-02 15:53:13 -07:00
uaccess.h x86: lockless get_user_pages_fast() 2008-07-26 12:00:06 -07:00
ucontext.h
unaligned.h
unistd_32.h flag parameters add-on: remove epoll_create size param 2008-07-24 10:47:29 -07:00
unistd_64.h flag parameters add-on: remove epoll_create size param 2008-07-24 10:47:29 -07:00
unistd.h
unwind.h
user_32.h
user_64.h
user.h
user32.h
vdso.h
vga.h
vgtod.h
vic.h
vm86.h
vmi_time.h
vmi.h
voyager.h
vsyscall.h
xor_32.h
xor_64.h
xor.h