Re: [RFC] /dev/anon

From: Jeff Dike
Date: Tue Jan 13 2004 - 20:22:03 EST


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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/