From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932223AbVKWTZ3 (ORCPT ); Wed, 23 Nov 2005 14:25:29 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S932232AbVKWTZ3 (ORCPT ); Wed, 23 Nov 2005 14:25:29 -0500 Received: from mx1.redhat.com ([66.187.233.31]:28385 "EHLO mx1.redhat.com") by vger.kernel.org with ESMTP id S932223AbVKWTZ2 (ORCPT ); Wed, 23 Nov 2005 14:25:28 -0500 From: David Howells In-Reply-To: <376.1132773809@warthog.cambridge.redhat.com> References: <376.1132773809@warthog.cambridge.redhat.com> To: David Howells Cc: Linus Torvalds , akpm@osdl.org, dalomar@serrasold.com, linux-kernel@vger.kernel.org, uclinux-dev@uclinux.org Subject: Re: [PATCH 1/3] NOMMU: Provide shared-writable mmap support on ramfs X-Mailer: MH-E 7.84; nmh 1.1; GNU Emacs 22.0.50.1 Date: Wed, 23 Nov 2005 19:25:18 +0000 Message-ID: <459.1132773918@warthog.cambridge.redhat.com> Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org David Howells wrote: > > Truncate is _supposed_ to get rid of any shared mmap stuff. > > Yeah... but under _NOMMU_ conditions, it can't. There's no MMU around to > enforce the fact that the mapping has been shrunk. I may not have mentioned, but this does not apply under MMU conditions. A different file in fs/ramfs/ swings into action and does the normal thing. David