From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail138.messagelabs.com (mail138.messagelabs.com [216.82.249.35]) by kanga.kvack.org (Postfix) with SMTP id 623BC6007E1 for ; Tue, 5 Jan 2010 10:23:42 -0500 (EST) From: David Howells In-Reply-To: References: <20100104123858.GA5045@us.ibm.com> Subject: Re: [PATCH] nommu: reject MAP_HUGETLB Date: Tue, 05 Jan 2010 15:23:33 +0000 Message-ID: <17220.1262705013@redhat.com> Sender: owner-linux-mm@kvack.org To: Hugh Dickins Cc: dhowells@redhat.com, Linus Torvalds , Eric B Munson , Andrew Morton , Al Viro , linux-kernel@vger.kernel.org, linux-mm@kvack.org List-ID: Hugh Dickins wrote: > We've agreed to restore the rejection of MAP_HUGETLB to nommu. > Mimic what happens with mmu when hugetlb is not configured in: > say -ENOSYS, but -EINVAL if MAP_ANONYMOUS was not given too. On the other hand, why not just ignore the MAP_HUGETLB flag on NOMMU? David -- 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: email@kvack.org