Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S964839AbVLISIv (ORCPT ); Fri, 9 Dec 2005 13:08:51 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S964843AbVLISIv (ORCPT ); Fri, 9 Dec 2005 13:08:51 -0500 Received: from e2.ny.us.ibm.com ([32.97.182.142]:49114 "EHLO e2.ny.us.ibm.com") by vger.kernel.org with ESMTP id S964839AbVLISIu (ORCPT ); Fri, 9 Dec 2005 13:08:50 -0500 Subject: Re: [PATCH 2.6.15-rc5] hugetlb: make make_huge_pte global and fix coding style From: Dave Hansen To: Mark Rustad Cc: Linux Kernel Mailing List In-Reply-To: References: <1134148609.30856.22.camel@localhost> Content-Type: text/plain Date: Fri, 09 Dec 2005 10:08:16 -0800 Message-Id: <1134151696.3278.2.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.0.4 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1098 Lines: 27 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/