From owner-freebsd-hackers Mon May 17 7:16:25 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from relay4.mail.uk.psi.net (relay4.mail.uk.psi.net [154.32.111.6]) by hub.freebsd.org (Postfix) with ESMTP id 65B461559D for ; Mon, 17 May 1999 07:16:22 -0700 (PDT) (envelope-from amobbs@allstor-sw.co.uk) Received: from mail.plasmon.co.uk ([193.115.5.217]) by relay4.mail.uk.psi.net with smtp (Exim 2.12 #2) id 10jOBG-0004wl-00 for freebsd-hackers@freebsd.org; Mon, 17 May 1999 15:15:47 +0100 Received: by mail.plasmon.co.uk(Lotus SMTP MTA v4.6.2 (693.3 8-11-1998)) id 80256774.004E1F2B ; Mon, 17 May 1999 15:13:17 +0100 X-Lotus-FromDomain: PLASNOTES From: amobbs@allstor-sw.co.uk To: freebsd-hackers@freebsd.org Message-ID: <80256774.004E1E08.00@mail.plasmon.co.uk> Date: Mon, 17 May 1999 15:13:14 +0100 Subject: Wired memory "leaking" Mime-Version: 1.0 Content-type: text/plain; charset=us-ascii Content-Disposition: inline Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I've got a problem that my KLD is "leaking" wired memory. It's not actually growing in size, vmstat -m shows a fairly constant allocation, and certainly "high" isn't increasing. It's just that as I use it more, and more memory gets wired down, and the system becomes unusable. I've tried both using my own MALLOC_DEFINE memory type and a system type (M_TEMP) with no difference. All I'm doing is straight-forward malloc/free, surely I don't have to call vm_page_unwire myself? Would it be a problem if memory malloced by one KLD was being freed in another? I'm (still) using 3.0-RELEASE. Thanks in advance for any help. Andrew. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message