Re: la la la la ... swappiness

From: Andrew Morton
Date: Mon Dec 04 2006 - 16:45:41 EST


On Mon, 4 Dec 2006 15:25:47 -0600
"Aucoin" <Aucoin@xxxxxxxxxxxxxx> wrote:

> > From: Jeffrey Hundstad [mailto:jeffrey.hundstad@xxxxxxxx]
> > POSIX_FADV_NOREUSE flags. It seems these would cause the tar and patch
>
> WI may be na__ve as well, but that sounds interesting. Unless someone knows
> of an obvious reason this won't work we can make a one-off tar command and
> give it a whirl.
>

Well if altering tar is an option then sure, a
sync_file_range(SYNC_FILE_RANGE_WRITE|SYNC_FILE_RANGE_WAIT_AFTER) followed
by fadvise(POSIX_FADV_DONTNEED) will free the memory up again.
-
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/