From: Dave Hansen <dave.hansen@intel.com>
To: Yehuda Yitschak <yehuday@marvell.com>,
"linux-mm@kvack.org" <linux-mm@kvack.org>
Cc: Shadi Ammouri <shadi@marvell.com>
Subject: Re: [QUESTION] mmap of device file with huge pages
Date: Tue, 9 Aug 2016 10:39:39 -0700 [thread overview]
Message-ID: <57AA155B.70009@intel.com> (raw)
In-Reply-To: <85d8c7bb8bcc4a30865a4512dd174cf8@IL-EXCH02.marvell.com>
On 08/09/2016 02:58 AM, Yehuda Yitschak wrote:
> I would appreciate any advice on this issue
This is kinda a FAQ at this point. But, the thing I generally suggest
is that you allocate hugetlbfs memory or anonymous transparent huge
pages in your applciation via the _normal_ mechanisms, and then hand a
pointer to that in to your driver.
It's backwards from how you're doing it now, but it makes things easier
down the road.
--
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>
next prev parent reply other threads:[~2016-08-09 17:39 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-08-09 9:58 [QUESTION] mmap of device file with huge pages Yehuda Yitschak
2016-08-09 17:39 ` Dave Hansen [this message]
2016-08-10 7:36 ` Yehuda Yitschak
2016-08-10 16:20 ` Dave Hansen
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=57AA155B.70009@intel.com \
--to=dave.hansen@intel.com \
--cc=linux-mm@kvack.org \
--cc=shadi@marvell.com \
--cc=yehuday@marvell.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.