Re: [PATCH 2.6.15-rc5] hugetlb: make make_huge_pte global and fixcoding style

From: Dave Hansen
Date: Fri Dec 09 2005 - 13:08:04 EST


On Fri, 2005-12-09 at 11:55 -0600, Mark Rustad wrote:
> On Dec 9, 2005, at 11:16 AM, Dave Hansen wrote:
>
> > What driver needs to map huge pages? Is it in the kernel tree
> > now? If
> > not, can you post the source, please?
>
> It is a funky driver for an embedded system. I can't imagine it ever
> being in the kernel tree, because not many people want to share 768M
> of contiguous physical memory.
>
> I can post the source, but it really is a bunch of random stuff for
> am embedded application. We do make it available as part of our GPL
> source release to customers.

You'd be surprised. If we know what you're actually trying to do, we
might be able to suggest another option. As Adam said, having userspace
mmap a hugetlb area, then hand it to the driver would certainly keep
your kernel modifications to a minimum.

-- Dave

-
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/