lkml.org 
[lkml]   [2000]   [Dec]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: swapoff/on leak test12-pre7
On Sat, 9 Dec 2000, Mike Galbraith wrote:

> Hi,
>
> Stumbled over a small leak.. and some funny looking numbers.

Numbers aren't funny looking.. bad eyeballs.

> while true; do swapoff -a; swapon -a; done

<snip vmstat of leak>

Leak is because the page allocated in swapon has buffers. Since
it's not on any list, they never get scrubbed off and the page is
leaked. (I killed it here with try_to_free_buffers().. works)

-Mike

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:28    [W:0.049 / U:53.220 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site