[PATCH 0/2] x86: Fix performance regression in get_user_pages_fast()

From: Kirill A. Shutemov
Date: Fri Sep 08 2017 - 17:56:31 EST


Fix performance regression found by 0-day.

Kirill A. Shutemov (2):
mm: Add infrastructure for get_user_pages_fast() benchmarking
mm, x86: Fix performance regression in get_user_pages_fast()

mm/Kconfig | 9 +++
mm/Makefile | 1 +
mm/gup.c | 97 +++++++++++++++++-----------
mm/gup_benchmark.c | 100 +++++++++++++++++++++++++++++
tools/testing/selftests/vm/Makefile | 1 +
tools/testing/selftests/vm/gup_benchmark.c | 91 ++++++++++++++++++++++++++
6 files changed, 260 insertions(+), 39 deletions(-)
create mode 100644 mm/gup_benchmark.c
create mode 100644 tools/testing/selftests/vm/gup_benchmark.c

--
2.14.1