Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S268177AbUJHJTi (ORCPT ); Fri, 8 Oct 2004 05:19:38 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S268179AbUJHJTi (ORCPT ); Fri, 8 Oct 2004 05:19:38 -0400 Received: from mailhost.tue.nl ([131.155.2.7]:3082 "EHLO mailhost.tue.nl") by vger.kernel.org with ESMTP id S268177AbUJHJTg (ORCPT ); Fri, 8 Oct 2004 05:19:36 -0400 Date: Fri, 8 Oct 2004 11:19:33 +0200 From: Andries Brouwer To: Kyle Moffett Cc: Andries Brouwer , Linux Kernel Mailing List , Alan Cox Subject: Re: mmap specification - was: ... select specification Message-ID: <20041008091933.GD7047@pclin040.win.tue.nl> References: <001601c4ac72$19932760$161b14ac@boromir> <001c01c4ac76$fb9fd190$161b14ac@boromir> <1097156727.31753.44.camel@localhost.localdomain> <001f01c4ac8b$35849710$161b14ac@boromir> <1097160628.31614.68.camel@localhost.localdomain> <20041007215834.GA7047@pclin040.win.tue.nl> <20041007224640.GC7047@pclin040.win.tue.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.1i X-Spam-DCC: dmv.com: mailhost.tue.nl 1181; Body=1 Fuz1=1 Fuz2=1 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1007 Lines: 26 On Thu, Oct 07, 2004 at 07:30:53PM -0400, Kyle Moffett wrote: > On Oct 07, 2004, at 18:46, Andries Brouwer wrote: > >The POSIX text is clear to me, and Linux is compliant. > >On the other hand, I have no idea what you try to say. > > >On Thu, Oct 07, 2004 at 06:32:43PM -0400, Kyle Moffett wrote: > > > >>>>"References within the address range starting at pa and continuing > >>>>for len bytes to whole pages following the end of an object shall > >>>>result in delivery of a SIGBUS signal." > > Reviewing this once more: > > >References within the address range starting at pa and continuing for > >len bytes: > range = {pa ... pa+len}; > > >To whole pages following the end of an object: > range = {pa ... PAGE_ROUND_UP(pa+len)}; It is here you are wrong. - 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/