Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754847Ab0AEPYK (ORCPT ); Tue, 5 Jan 2010 10:24:10 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754060Ab0AEPYI (ORCPT ); Tue, 5 Jan 2010 10:24:08 -0500 Received: from mx1.redhat.com ([209.132.183.28]:36084 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753639Ab0AEPYD (ORCPT ); Tue, 5 Jan 2010 10:24:03 -0500 Organization: Red Hat UK Ltd. Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod Street, Windsor, Berkshire, SI4 1TE, United Kingdom. Registered in England and Wales under Company Registration No. 3798903 From: David Howells In-Reply-To: References: <20100104123858.GA5045@us.ibm.com> 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 Subject: Re: [PATCH] nommu: reject MAP_HUGETLB Date: Tue, 05 Jan 2010 15:23:33 +0000 Message-ID: <17220.1262705013@redhat.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 566 Lines: 14 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 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/