mbox series

[PATCHv8,0/2] fix omission of check on FOLL_LONGTERM in gup fast path

Message ID 1584876733-17405-1-git-send-email-kernelfans@gmail.com (mailing list archive)
Headers show
Series fix omission of check on FOLL_LONGTERM in gup fast path | expand

Message

Pingfan Liu March 22, 2020, 11:32 a.m. UTC
v7 -> v8:
    - drop the [3/3] in v7, which is a test case without real use case now.
    - apply renamming in __get_user_pages_fast() besides internal_get_user_pages_fast()
    - improve the note in code with [2/2]

Cc: Ira Weiny <ira.weiny@intel.com>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Mike Rapoport <rppt@linux.ibm.com>
Cc: Dan Williams <dan.j.williams@intel.com>
Cc: Matthew Wilcox <willy@infradead.org>
Cc: John Hubbard <jhubbard@nvidia.com>
Cc: "Aneesh Kumar K.V" <aneesh.kumar@linux.ibm.com>
Cc: Christoph Hellwig <hch@infradead.org>
Cc: Shuah Khan <shuah@kernel.org>
Cc: Jason Gunthorpe <jgg@ziepe.ca>
To: linux-mm@kvack.org
Cc: linux-kernel@vger.kernel.org

Pingfan Liu (2):
  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.c | 34 +++++++++++++++++++++-------------
 1 file changed, 21 insertions(+), 13 deletions(-)

--
2.7.5