archive mirror
 help / color / mirror / Atom feed
From: John Hubbard <>
To: Andrew Morton <>
Cc: Christoph Hellwig <>,
	"Aneesh Kumar K . V" <>,
	Keith Busch <>,
	Ira Weiny <>,
	LKML <>, <>,
	John Hubbard <>,
	Christoph Hellwig <>,
	"Kirill A . Shutemov" <>,
	Shuah Khan <>, <>
Subject: [PATCH v2 0/2] gup.c, gup_benchmark.c trivial fixes before the storm
Date: Mon, 14 Oct 2019 11:46:37 -0700	[thread overview]
Message-ID: <> (raw)


Changes since v1:

1) Fixed a krobot-reported mistake, which also uncovered a pre-existing
bug. Thanks to Kirill for recommending the fix.

2) Added another small fix: changed the data type to unsigned int, as
pointed out by Ira.

2) Added a "Fixes:" line, thanks to Kirill and Aneesh for pinpointing the

3) Collected Acked-by and Suggested-by's.

Original cover letter, edited slightly

These trivial fixes apply to today's linux.git (5.4-rc3).

I found these while polishing up the Next And Final get_user_pages()+dma
tracking patchset (which is in final testing and passing far).

Anyway, as these two patches apply cleanly both before and after the larger
gup/dma upcoming patchset, I thought it best to send this out separately,
in order to avoid muddying the waters more than usual.

Cc: Christoph Hellwig <>
Cc: Aneesh Kumar K.V <>
Cc: Kirill A. Shutemov <>
Cc: Keith Busch <>
Cc: Ira Weiny <>
Cc: Shuah Khan <>

John Hubbard (2):
  mm/gup_benchmark: add a missing "w" to getopt string
  mm/gup: fix a misnamed "write" argument, and a related bug

 mm/gup.c                                   | 14 ++++++++------
 tools/testing/selftests/vm/gup_benchmark.c |  2 +-
 2 files changed, 9 insertions(+), 7 deletions(-)


             reply	other threads:[~2019-10-14 18:46 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-10-14 18:46 John Hubbard [this message]
2019-10-14 18:46 ` [PATCH v2 1/2] mm/gup_benchmark: add a missing "w" to getopt string John Hubbard

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \ \ \ \ \ \ \ \ \ \ \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).