kernel-ark/include/asm-parisc
Hugh Dickins 663b97f7ef [PATCH] mm: flush_tlb_range outside ptlock
There was one small but very significant change in the previous patch:
mprotect's flush_tlb_range fell outside the page_table_lock: as it is in 2.4,
but that doesn't prove it safe in 2.6.

On some architectures flush_tlb_range comes to the same as flush_tlb_mm, which
has always been called from outside page_table_lock in dup_mmap, and is so
proved safe.  Others required a deeper audit: I could find no reliance on
page_table_lock in any; but in ia64 and parisc found some code which looks a
bit as if it might want preemption disabled.  That won't do any actual harm,
so pending a decision from the maintainers, disable preemption there.

Remove comments on page_table_lock from flush_tlb_mm, flush_tlb_range and
flush_tlb_page entries in cachetlb.txt: they were rather misleading (what
generic code does is different from what usually happens), the rules are now
changing, and it's not yet clear where we'll end up (will the generic
tlb_flush_mmu happen always under lock?  never under lock?  or sometimes under
and sometimes not?).

Signed-off-by: Hugh Dickins <hugh@veritas.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-10-29 21:40:40 -07:00
..
a.out.h
asmregs.h
assembly.h [PARISC] Specify level to fix binutils level promotion bug 2005-10-21 22:56:35 -04:00
atomic.h [PATCH] spinlock consolidation 2005-09-10 10:06:21 -07:00
auxvec.h [PATCH] auxiliary vector cleanups 2005-09-07 16:57:21 -07:00
bitops.h [PARISC] Update bitops from parisc tree 2005-10-21 22:45:22 -04:00
bug.h
bugs.h
byteorder.h
cache.h
cacheflush.h [PATCH] spinlock consolidation 2005-09-10 10:06:21 -07:00
checksum.h
compat_rt_sigframe.h
compat_signal.h
compat_ucontext.h
compat.h [PATCH] compat: be more consistent about [ug]id_t 2005-09-07 16:57:19 -07:00
cputime.h
current.h
delay.h
div64.h
dma-mapping.h [PATCH] gfp_t: dma-mapping (parisc) 2005-10-28 08:16:48 -07:00
dma.h
eisa_bus.h
eisa_eeprom.h
elf.h
emergency-restart.h
errno.h [PARISC] Add ECANCELED to errno.h 2005-10-21 22:53:43 -04:00
fcntl.h [PATCH] Clean up struct flock64 definitions 2005-09-07 16:57:38 -07:00
fixmap.h
floppy.h
futex.h [PATCH] Remove unused var from asm/futex.h 2005-09-21 16:16:29 -07:00
grfioctl.h [PARISC] Add other CRT_ID for newer cards to grfioctl.h 2005-10-21 22:54:00 -04:00
hardirq.h
hardware.h
hw_irq.h
ide.h
io.h
ioctl.h
ioctls.h
iosapic.h
ipcbuf.h
irq.h [PATCH] CHECK_IRQ_PER_CPU() to avoid dead code in __do_IRQ() 2005-09-07 16:57:29 -07:00
kmap_types.h
led.h [PARISC] Use work queue in LED/LCD driver instead of tasklet. 2005-10-21 22:46:18 -04:00
linkage.h
local.h
machdep.h
mc146818rtc.h
mman.h
mmu_context.h
mmu.h
mmzone.h
module.h
msgbuf.h
namei.h
numnodes.h
page.h [PATCH] mm: consolidate get_order 2005-09-05 00:05:39 -07:00
param.h
parisc-device.h [PARISC] Convert parisc_device to use struct resource for hpa 2005-10-21 22:36:40 -04:00
parport.h
pci.h [PARISC] Fix compile warning in pci.h 2005-10-21 22:49:05 -04:00
pdc_chassis.h
pdc.h
pdcpat.h
percpu.h
perf.h
pgalloc.h
pgtable.h [PARISC] Define pgprot_noncached macro in pgtable.h 2005-10-21 22:54:20 -04:00
poll.h
posix_types.h
processor.h [PARISC] Add ability for prctl to change unaligned trap behaviour 2005-10-21 22:43:15 -04:00
psw.h [PARISC] Make sure use of RFI conforms to PA 2.0 and 1.1 arch docs 2005-10-21 22:40:07 -04:00
ptrace.h [PARISC] Take into account nullified insn and lock functions for profiling 2005-10-21 22:42:18 -04:00
real.h
resource.h
rt_sigframe.h
rtc.h
runway.h
scatterlist.h
sections.h
segment.h
semaphore-helper.h
semaphore.h
sembuf.h
serial.h
setup.h
shmbuf.h
shmparam.h
sigcontext.h
siginfo.h
signal.h
smp.h
socket.h [NET]: Introduce SO_{SND,RCV}BUFFORCE socket options 2005-08-29 15:31:35 -07:00
sockios.h
spinlock_types.h [PARISC] Update spinlocks from parisc tree 2005-10-21 22:41:25 -04:00
spinlock.h [PARISC] Update spinlocks from parisc tree 2005-10-21 22:41:25 -04:00
stat.h
statfs.h
string.h
superio.h
system.h [PARISC] Update spinlocks from parisc tree 2005-10-21 22:41:25 -04:00
termbits.h
termios.h
thread_info.h
timex.h
tlb.h
tlbflush.h [PATCH] mm: flush_tlb_range outside ptlock 2005-10-29 21:40:40 -07:00
topology.h
traps.h
types.h [PARISC] Update bitops from parisc tree 2005-10-21 22:45:22 -04:00
uaccess.h [PATCH] remove verify_area(): remove verify_area() from various uaccess.h headers 2005-09-07 16:57:35 -07:00
ucontext.h
unaligned.h
unistd.h [PARISC] Add new ioprio_{set,get} syscalls 2005-10-21 22:45:57 -04:00
unwind.h
user.h
xor.h