[Qemu-devel] [PATCH v3 0/4] per-TLB lock

Emilio G. Cota posted 4 patches 7 years, 1 month ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20181005211450.847-1-cota@braap.org
Test docker-clang@ubuntu failed
Test checkpatch passed
There is a newer version of this series
[Qemu-devel] [PATCH v3 0/4] per-TLB lock
Posted by Emilio G. Cota 7 years, 1 month ago
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