All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH v3 0/4] per-TLB lock
@ 2018-10-05 21:14 Emilio G. Cota
  2018-10-05 21:14 ` [Qemu-devel] [PATCH v3 1/4] exec: introduce tlb_init Emilio G. Cota
                   ` (3 more replies)
  0 siblings, 4 replies; 12+ messages in thread
From: Emilio G. Cota @ 2018-10-05 21:14 UTC (permalink / raw)
  To: qemu-devel; +Cc: Paolo Bonzini, Richard Henderson, Alex Bennée

v2: https://lists.gnu.org/archive/html/qemu-devel/2018-10/msg00617.html

Changes since v2:

- Add R-b's

- Include "qemu/thread.h" from cpu-defs.h to fix the build error
  reported by Alex.

- Eliminate (on average) the performance slowdown. This is achieved by:
  + Switching from a mutex to a spinlock
  + Acquiring the lock only once in tlb_set_page_with_attrs,
    instead of acquiring/releasing it several times.
    This function is called often enough for memory-hungry
    workloads that amortizing the lock acquisition cost
    makes sense. I've added a comment about this.

- Add SPEC06int perf numbers to patch 4's commit log.

The series is checkpatch-clean. You can fetch the code from:
  https://github.com/cota/qemu/tree/tlb-lock-v3

Thanks,

		Emilio

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2018-10-16 15:56 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-10-05 21:14 [Qemu-devel] [PATCH v3 0/4] per-TLB lock Emilio G. Cota
2018-10-05 21:14 ` [Qemu-devel] [PATCH v3 1/4] exec: introduce tlb_init Emilio G. Cota
2018-10-05 21:14 ` [Qemu-devel] [PATCH v3 2/4] cputlb: fix assert_cpu_is_self macro Emilio G. Cota
2018-10-05 21:14 ` [Qemu-devel] [PATCH v3 3/4] cputlb: serialize tlb updates with env->tlb_lock Emilio G. Cota
2018-10-08 13:57   ` Alex Bennée
2018-10-08 14:12     ` Emilio G. Cota
2018-10-08 14:30       ` Alex Bennée
2018-10-05 21:14 ` [Qemu-devel] [PATCH v3 4/4] cputlb: read CPUTLBEntry.addr_write atomically Emilio G. Cota
2018-10-16  2:52   ` Richard Henderson
2018-10-16  6:03     ` Paolo Bonzini
2018-10-16 15:12       ` Emilio G. Cota
2018-10-16 15:56       ` Richard Henderson

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.