Re: 2.4.22 O_DIRECT memory leak?!?
From: Marcelo Tosatti
Date: Thu Oct 09 2003 - 14:37:59 EST
On Wed, 8 Oct 2003, Magnus Andersson wrote:
> If I open one file a lot of times using the flag O_DIRECT,
> memory seems to be be lost and never given back to the system.
> This is happening on some kernels, see below for which ones I tried.
> Attached program will produce this behavior, also attached
> is the output from vmstat while running the program.
That memory will be freed as soon as there's memory pressure so its not a
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/