Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S267625AbUIOVxp (ORCPT ); Wed, 15 Sep 2004 17:53:45 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S267523AbUIOVw0 (ORCPT ); Wed, 15 Sep 2004 17:52:26 -0400 Received: from fw.osdl.org ([65.172.181.6]:13765 "EHLO mail.osdl.org") by vger.kernel.org with ESMTP id S267625AbUIOVvi (ORCPT ); Wed, 15 Sep 2004 17:51:38 -0400 Date: Wed, 15 Sep 2004 14:55:24 -0700 From: Andrew Morton To: William Lee Irwin III Cc: andrea@novell.com, linux-kernel@vger.kernel.org, an.li.wang@intel.com Subject: Re: truncate shows non zero data beyond the end of the inode with MAP_SHARED Message-Id: <20040915145524.079a8694.akpm@osdl.org> In-Reply-To: <20040915210106.GX9106@holomorphy.com> References: <20040915122920.GA4454@dualathlon.random> <20040915210106.GX9106@holomorphy.com> X-Mailer: Sylpheed version 0.9.7 (GTK+ 1.2.10; i586-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 501 Lines: 11 William Lee Irwin III wrote: > > Zeroing the final partial page during expanding truncate (flushing TLB) > sounds like a reasonable half measure; we don't do anything at the moment. Sure about that? block_truncate_page() gets called. - 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/