linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: Roland Dreier <roland@kernel.org>
To: Jan Kara <jack@suse.cz>
Cc: "linux-rdma@vger.kernel.org" <linux-rdma@vger.kernel.org>,
	linux-mm@kvack.org
Subject: Re: Infiniband use of get_user_pages()
Date: Mon, 29 Apr 2013 11:44:19 -0700	[thread overview]
Message-ID: <CAL1RGDWPujGT6HKDg74dFT=C64NyO7y1aYjM1LH9YHZcWbf7qA@mail.gmail.com> (raw)
In-Reply-To: <20130425132157.GA32353@quack.suse.cz>

On Thu, Apr 25, 2013 at 6:21 AM, Jan Kara <jack@suse.cz> wrote:
>> get_user_pages() actually goes to some trouble to return all small pages,
>> even when it has to split a single huge page into many entries in the
>> page array.  (Which is actually a bit unfortunate for our use here)

>   Does it? As far as I'm checking get_user_pages() and the fault path I
> don't see where it would be happening...

I'm talking about where __get_user_pages() calls follow_hugetlb_page()
and loops to fill in many entries in the page array from one huge
page.

 - R.

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

  reply	other threads:[~2013-04-29 18:44 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-24 15:38 Jan Kara
2013-04-24 15:43 ` Christoph Lameter
2013-04-24 22:25 ` Roland Dreier
2013-04-25 13:21   ` Jan Kara
2013-04-29 18:44     ` Roland Dreier [this message]
2013-04-26 17:19 ` KOSAKI Motohiro

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:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

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

  git send-email \
    --in-reply-to='CAL1RGDWPujGT6HKDg74dFT=C64NyO7y1aYjM1LH9YHZcWbf7qA@mail.gmail.com' \
    --to=roland@kernel.org \
    --cc=jack@suse.cz \
    --cc=linux-mm@kvack.org \
    --cc=linux-rdma@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* 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