From: Jeff Dike Subject: Re: [RFC] /dev/anon Date: Tue, 13 Jan 2004 20:42:09 -0500 Sender: linux-fsdevel-owner@vger.kernel.org Message-ID: <20040114014209.GA4301@ccure.user-mode-linux.org> References: <200401132021.i0DKLBhg002890@ccure.user-mode-linux.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Linux Kernel Mailing List , linux-fsdevel@vger.kernel.org Return-path: Received: from [12.177.129.25] ([12.177.129.25]:25539 "EHLO ccure.user-mode-linux.org") by vger.kernel.org with ESMTP id S265118AbUANBU7 (ORCPT ); Tue, 13 Jan 2004 20:20:59 -0500 To: Davide Libenzi Content-Disposition: inline In-Reply-To: List-Id: linux-fsdevel.vger.kernel.org On Tue, Jan 13, 2004 at 12:38:05PM -0800, Davide Libenzi wrote: > Now I'm going to say something really stupid, but why sys_madvise(MADV_DONTNEED) > won't work for this? > MADV_DONTNEED is fine for anonymous memory, but it can't make a filesystem throw out data, which is what I need. If it did, then people wouldn't be agitating for sys_punch. Jeff