Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Thu, 14 Dec 2000 00:03:38 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Thu, 14 Dec 2000 00:03:27 -0500 Received: from www.wen-online.de ([212.223.88.39]:61198 "EHLO wen-online.de") by vger.kernel.org with ESMTP id ; Thu, 14 Dec 2000 00:03:09 -0500 Date: Thu, 14 Dec 2000 05:32:39 +0100 (CET) From: Mike Galbraith To: linux-kernel cc: Linus Torvalds Subject: Re: swapoff/on leak test12-pre7 In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org 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 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/