linux-mips
[Top] [All Lists]

Re: __access_ok

To: Jun Sun <jsun@mvista.com>
Subject: Re: __access_ok
From: Ralf Baechle <ralf@oss.sgi.com>
Date: Wed, 19 Jun 2002 11:17:37 +0200
Cc: Carsten Langgaard <carstenl@mips.com>, linux-mips@oss.sgi.com
In-reply-to: <3D0E3E9C.4070702@mvista.com>; from jsun@mvista.com on Mon, Jun 17, 2002 at 12:55:08PM -0700
References: <3D0DCDCB.252F5565@mips.com> <3D0E3E9C.4070702@mvista.com>
Sender: owner-linux-mips@oss.sgi.com
User-agent: Mutt/1.2.5.1i
On Mon, Jun 17, 2002 at 12:55:08PM -0700, Jun Sun wrote:

> Just to be nit-picking, the end point should be (addr + size - 1).

You better don't use the last bit of userspace and make that (addr + size).
Saves several kB on the entire kernel.

  Ralf

<Prev in Thread] Current Thread [Next in Thread>