Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S265515AbUAMUiP (ORCPT ); Tue, 13 Jan 2004 15:38:15 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S265563AbUAMUiP (ORCPT ); Tue, 13 Jan 2004 15:38:15 -0500 Received: from x35.xmailserver.org ([69.30.125.51]:52429 "EHLO x35.xmailserver.org") by vger.kernel.org with ESMTP id S265515AbUAMUiC (ORCPT ); Tue, 13 Jan 2004 15:38:02 -0500 X-AuthUser: davidel@xmailserver.org Date: Tue, 13 Jan 2004 12:38:05 -0800 (PST) From: Davide Libenzi X-X-Sender: davide@bigblue.dev.mdolabs.com To: Jeff Dike cc: Linux Kernel Mailing List , Subject: Re: [RFC] /dev/anon In-Reply-To: <200401132021.i0DKLBhg002890@ccure.user-mode-linux.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 642 Lines: 19 On Tue, 13 Jan 2004, Jeff Dike wrote: > UML has a need to free dirty pages in the middle of a file (which is described > in more detail below). The obvious way to do this, and one which has come up > before, is a sys_punch system call for making a hole in the middle of a file. Now I'm going to say something really stupid, but why sys_madvise(MADV_DONTNEED) won't work for this? - Davide - 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/