050eef364a
The tlb flushing code uses the mm_users field of the mm_struct to decide if each page table entry needs to be flushed individually with IPTE or if a global flush for the mm_struct is sufficient after all page table updates have been done. The comment for mm_users says "How many users with user space?" but the /proc code increases mm_users after it found the process structure by pid without creating a new user process. Which makes mm_users useless for the decision between the two tlb flusing methods. The current code can be confused to not flush tlb entries by a concurrent access to /proc files if e.g. a fork is in progres. The solution for this problem is to make the tlb flushing logic independent from the mm_users field. Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com> |
||
---|---|---|
.. | ||
Kbuild | ||
airq.h | ||
appldata.h | ||
asm-offsets.h | ||
atomic.h | ||
auxvec.h | ||
bitops.h | ||
bitsperlong.h | ||
bug.h | ||
bugs.h | ||
byteorder.h | ||
cache.h | ||
cacheflush.h | ||
ccwdev.h | ||
ccwgroup.h | ||
checksum.h | ||
chpid.h | ||
chsc.h | ||
cio.h | ||
cmb.h | ||
compat.h | ||
cpcmd.h | ||
cpu.h | ||
cputime.h | ||
crw.h | ||
current.h | ||
dasd.h | ||
debug.h | ||
delay.h | ||
device.h | ||
diag.h | ||
div64.h | ||
dma.h | ||
ebcdic.h | ||
elf.h | ||
emergency-restart.h | ||
errno.h | ||
etr.h | ||
extmem.h | ||
fb.h | ||
fcntl.h | ||
fcx.h | ||
ftrace.h | ||
futex.h | ||
hardirq.h | ||
hugetlb.h | ||
idals.h | ||
io.h | ||
ioctl.h | ||
ioctls.h | ||
ipcbuf.h | ||
ipl.h | ||
irq.h | ||
irq_regs.h | ||
irqflags.h | ||
isc.h | ||
itcw.h | ||
kdebug.h | ||
kexec.h | ||
kmap_types.h | ||
kprobes.h | ||
kvm.h | ||
kvm_host.h | ||
kvm_para.h | ||
kvm_virtio.h | ||
linkage.h | ||
local.h | ||
local64.h | ||
lowcore.h | ||
mathemu.h | ||
mman.h | ||
mmu.h | ||
mmu_context.h | ||
module.h | ||
monwriter.h | ||
msgbuf.h | ||
mutex.h | ||
nmi.h | ||
page.h | ||
param.h | ||
pci.h | ||
percpu.h | ||
perf_event.h | ||
pgalloc.h | ||
pgtable.h | ||
poll.h | ||
posix_types.h | ||
processor.h | ||
ptrace.h | ||
qdio.h | ||
qeth.h | ||
reset.h | ||
resource.h | ||
rwsem.h | ||
s390_ext.h | ||
scatterlist.h | ||
schid.h | ||
sclp.h | ||
scsw.h | ||
seccomp.h | ||
sections.h | ||
segment.h | ||
sembuf.h | ||
setup.h | ||
sfp-machine.h | ||
sfp-util.h | ||
shmbuf.h | ||
shmparam.h | ||
sigcontext.h | ||
siginfo.h | ||
signal.h | ||
sigp.h | ||
smp.h | ||
socket.h | ||
sockios.h | ||
sparsemem.h | ||
spinlock.h | ||
spinlock_types.h | ||
stat.h | ||
statfs.h | ||
string.h | ||
suspend.h | ||
swab.h | ||
syscall.h | ||
sysinfo.h | ||
system.h | ||
tape390.h | ||
termbits.h | ||
termios.h | ||
thread_info.h | ||
timer.h | ||
timex.h | ||
tlb.h | ||
tlbflush.h | ||
topology.h | ||
types.h | ||
uaccess.h | ||
ucontext.h | ||
unaligned.h | ||
unistd.h | ||
user.h | ||
vdso.h | ||
vtoc.h | ||
xor.h | ||
zcrypt.h |