Re: [RFC] /dev/anon

From: Davide Libenzi
Date: Tue Jan 13 2004 - 15:39:42 EST


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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/