mirror of
https://github.com/opnsense/src.git
synced 2026-03-04 14:24:23 -05:00
Reduce the cost of TLB invalidation on x86 by using per-CPU completion flags Reduce contention during TLB invalidation operations by using a per-CPU completion flag, rather than a single atomically-updated variable. On a Westmere system (2 sockets x 4 cores x 1 threads), dtrace measurements show that smp_tlb_shootdown is about 50% faster with this patch; observations with VTune show that the percentage of time spent in invlrng_single_page on an interrupt (actually doing invalidation, rather than synchronization) increases from 31% with the old mechanism to 71% with the new one. (Running a basic file server workload.) Submitted by: Anton Rang <rang at acm.org> Reviewed by: cem (earlier version) Sponsored by: Dell EMC Isilon Differential Revision: https://reviews.freebsd.org/D8041 |
||
|---|---|---|
| .. | ||
| pc | ||
| xen | ||
| _align.h | ||
| _bus.h | ||
| _inttypes.h | ||
| _limits.h | ||
| _stdint.h | ||
| _types.h | ||
| acpica_machdep.h | ||
| apm_bios.h | ||
| asm.h | ||
| asmacros.h | ||
| atomic.h | ||
| bus.h | ||
| bus_dma.h | ||
| clock.h | ||
| counter.h | ||
| cpu.h | ||
| cpufunc.h | ||
| cputypes.h | ||
| db_machdep.h | ||
| dump.h | ||
| efi.h | ||
| elf.h | ||
| endian.h | ||
| exec.h | ||
| fdt.h | ||
| float.h | ||
| floatingpoint.h | ||
| fpu.h | ||
| frame.h | ||
| gdb_machdep.h | ||
| ieeefp.h | ||
| in_cksum.h | ||
| intr_machdep.h | ||
| iodev.h | ||
| kdb.h | ||
| limits.h | ||
| md_var.h | ||
| memdev.h | ||
| metadata.h | ||
| minidump.h | ||
| mp_watchdog.h | ||
| nexusvar.h | ||
| npx.h | ||
| ofw_machdep.h | ||
| param.h | ||
| pcb.h | ||
| pci_cfgreg.h | ||
| pcpu.h | ||
| pmap.h | ||
| pmc_mdep.h | ||
| ppireg.h | ||
| proc.h | ||
| profile.h | ||
| psl.h | ||
| ptrace.h | ||
| pvclock.h | ||
| reg.h | ||
| reloc.h | ||
| resource.h | ||
| runq.h | ||
| segments.h | ||
| setjmp.h | ||
| sf_buf.h | ||
| sigframe.h | ||
| signal.h | ||
| smp.h | ||
| specialreg.h | ||
| stack.h | ||
| stdarg.h | ||
| sysarch.h | ||
| timerreg.h | ||
| trap.h | ||
| tss.h | ||
| ucontext.h | ||
| varargs.h | ||
| vdso.h | ||
| vm.h | ||
| vmm.h | ||
| vmm_dev.h | ||
| vmm_instruction_emul.h | ||
| vmparam.h | ||