Messages in this thread | | | Date | Thu, 14 Dec 2000 05:32:39 +0100 (CET) | From | Mike Galbraith <> | Subject | Re: 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/
| |