From: Alexey Korolev <akorolex@gmail.com>
To: Christoph Hellwig <hch@infradead.org>
Cc: Mel Gorman <mel@csn.ul.ie>, Eric Munson <linux-mm@mgebm.net>,
Alexey Korolev <akorolev@infradead.org>,
linux-mm@kvack.org, linux-kernel@vger.kernel.org
Subject: Re: HugeTLB: Driver example
Date: Thu, 17 Sep 2009 18:42:20 +1200 [thread overview]
Message-ID: <202cde0e0909162342xb2a8daeia90b33a172fc714b@mail.gmail.com> (raw)
In-Reply-To: <20090914165435.GA21554@infradead.org>
>> There is an example of simple driver which provides huge pages mapping
>> for user level applications. The procedure for mapping of huge pages
>> to userspace by the driver is:
>>
>> 1. Create a hugetlb file on vfs mount of hugetlbfs (h_file)
>
> Note that to get your support code included at all you'll need a real
> intree driver, not just an example. That is if VM people are happy with
> the general concept.
Hi,
The driver example listed here takes the same approach as already done
inside ipc/shm.c. So people can refer this file for development. The
patches just make existing functions more usable by drivers and this
example is an extract of ipc/shm.c in order to give pretty simple
how-to.
Seems I gave a not so good description for this patch set so it caused
a lot of misunderstanding, sorry about that.
Thanks,
Alexey
--
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:[~2009-09-17 6:42 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-09-14 5:30 Alexey Korolev
2009-09-14 16:54 ` Christoph Hellwig
2009-09-17 6:42 ` Alexey Korolev [this message]
2009-09-17 9:14 ` Mel Gorman
2009-09-21 5:16 ` Alexey Korolev
2009-09-21 9:04 ` Mel Gorman
2009-09-22 6:40 ` Alexey Korolev
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=202cde0e0909162342xb2a8daeia90b33a172fc714b@mail.gmail.com \
--to=akorolex@gmail.com \
--cc=akorolev@infradead.org \
--cc=hch@infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=linux-mm@mgebm.net \
--cc=mel@csn.ul.ie \
/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