Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Thu, 14 Nov 2002 12:45:04 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Thu, 14 Nov 2002 12:45:04 -0500 Received: from adsl-66-127-195-58.dsl.snfc21.pacbell.net ([66.127.195.58]:37263 "EHLO panda.mostang.com") by vger.kernel.org with ESMTP id ; Thu, 14 Nov 2002 12:45:02 -0500 To: linux-kernel@vger.kernel.org Subject: Re: [patch] remove hugetlb syscalls References: <08a601c28bbb$2f6182a0$760010ac@edumazet> <20021114141310.A25747@infradead.org> From: David Mosberger-Tang Date: 14 Nov 2002 09:51:55 -0800 In-Reply-To: <20021114141310.A25747@infradead.org> Message-ID: User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 706 Lines: 14 >>>>> On Thu, 14 Nov 2002 15:20:10 +0100, Christoph Hellwig said: Christoph> mount -t hugetlbfs whocares /huge Christoph> fd = open("/huge/nose", ..) Christoph> mmap(.., fd, ..) One potential downside of this is that programmers might expect mremap(), mprotect() etc. to work on the returned memory at the granularity of base-pages. I'm not sure though whether that was part of the reason Linus wanted separate syscalls. --david - 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/