From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S265961AbUBGBZT (ORCPT ); Fri, 6 Feb 2004 20:25:19 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S265852AbUBGBXe (ORCPT ); Fri, 6 Feb 2004 20:23:34 -0500 Received: from mail.shareable.org ([81.29.64.88]:22480 "EHLO mail.shareable.org") by vger.kernel.org with ESMTP id S265801AbUBGBX3 (ORCPT ); Fri, 6 Feb 2004 20:23:29 -0500 Date: Sat, 7 Feb 2004 01:23:19 +0000 From: Jamie Lokier To: Nikolay Igotti Cc: Rik van Riel , linux-kernel@vger.kernel.org Subject: Re: memmove syscall Message-ID: <20040207012319.GG12503@mail.shareable.org> References: <40231BED.8060100@lyola.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <40231BED.8060100@lyola.com> User-Agent: Mutt/1.4.1i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Nikolay Igotti wrote: > mremap expands (or shrinks) an existing memory mapping, > potentially > moving it at the same time (controlled by the flags argument > and the > available virtual address space). > > > And this syscall can be only used for realloc() kind of stuff, as you're > not allowed to change > virtual address of some page to desired value, Have you looked at the MREMAP_FIXED flag? -- Jamie