[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1560422702-11403-1-git-send-email-kernelfans@gmail.com>
Date: Thu, 13 Jun 2019 18:44:59 +0800
From: Pingfan Liu <kernelfans@...il.com>
To: linux-mm@...ck.org
Cc: Pingfan Liu <kernelfans@...il.com>,
Ira Weiny <ira.weiny@...el.com>,
Andrew Morton <akpm@...ux-foundation.org>,
Mike Rapoport <rppt@...ux.ibm.com>,
Dan Williams <dan.j.williams@...el.com>,
Matthew Wilcox <willy@...radead.org>,
John Hubbard <jhubbard@...dia.com>,
"Aneesh Kumar K.V" <aneesh.kumar@...ux.ibm.com>,
Keith Busch <keith.busch@...el.com>,
Christoph Hellwig <hch@...radead.org>,
Shuah Khan <shuah@...nel.org>, linux-kernel@...r.kernel.org
Subject: [PATCHv4 0/3] mm/gup: fix omission of check on FOLL_LONGTERM in gup fast path
These three patches have no dependency of each other, but related with the same purpose
to improve get_user_page_fast(), patch [2/3]. Put them together.
v3->v4:
Place the check on FOLL_LONGTERM in gup_pte_range() instead of get_user_page_fast()
Cc: Ira Weiny <ira.weiny@...el.com>
Cc: Andrew Morton <akpm@...ux-foundation.org>
Cc: Mike Rapoport <rppt@...ux.ibm.com>
Cc: Dan Williams <dan.j.williams@...el.com>
Cc: Matthew Wilcox <willy@...radead.org>
Cc: John Hubbard <jhubbard@...dia.com>
Cc: "Aneesh Kumar K.V" <aneesh.kumar@...ux.ibm.com>
Cc: Keith Busch <keith.busch@...el.com>
Cc: Christoph Hellwig <hch@...radead.org>
Cc: Shuah Khan <shuah@...nel.org>
Cc: linux-kernel@...r.kernel.org
Pingfan Liu (3):
mm/gup: rename nr as nr_pinned in get_user_pages_fast()
mm/gup: fix omission of check on FOLL_LONGTERM in gup fast path
mm/gup_benchemark: add LONGTERM_BENCHMARK test in gup fast path
mm/gup.c | 46 +++++++++++++++++++++++-------
mm/gup_benchmark.c | 11 +++++--
tools/testing/selftests/vm/gup_benchmark.c | 10 +++++--
3 files changed, 52 insertions(+), 15 deletions(-)
--
2.7.5
Powered by blists - more mailing lists