Re: HugeTLB: Driver example

From: Christoph Hellwig
Date: Mon Sep 14 2009 - 12:54:46 EST


On Mon, Sep 14, 2009 at 05:30:12PM +1200, Alexey Korolev wrote:
> 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.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/