From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Mon, 17 Oct 2005 15:25:01 -0500 From: Robin Holt Subject: Re: [Patch 2/3] Export get_one_pte_map. Message-ID: <20051017202501.GB15670@lnx-holt.americas.sgi.com> References: <20051014192111.GB14418@lnx-holt.americas.sgi.com> <20051014192225.GD14418@lnx-holt.americas.sgi.com> <20051014213038.GA7450@kroah.com> <20051017113131.GA30898@lnx-holt.americas.sgi.com> <1129549312.32658.32.camel@localhost> <20051017114730.GC30898@lnx-holt.americas.sgi.com> <20051017151430.GA2564@lnx-holt.americas.sgi.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Sender: owner-linux-mm@kvack.org Return-Path: To: Hugh Dickins Cc: Robin Holt , Andrew Morton , Dave Hansen , Greg KH , ia64 list , linux-mm , Linux Kernel Mailing List , hch@infradead.org, jgarzik@pobox.com, William Lee Irwin III , Nick Piggin , Carsten Otte , Jack Steiner List-ID: On Mon, Oct 17, 2005 at 04:59:20PM +0100, Hugh Dickins wrote: > Repeating a technical question (sorry, that now seems off-topic!): > what do you expect to happen with PROT_WRITE, MAP_PRIVATE? That would end up with a MAP_PRIVATE, PROT_WRITE, VM_RESERVED mapping. That does not make sense for this device, so I added the following check to mspec_mmap() if ((vma->vm_flags & VM_SHARED) == 0) return -EINVAL; Thanks, Robin -- 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