[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: checking available memory



Hi,

Information about kernel memory usage is in /proc/slabinfo but it
can be rather hard to read. If the numbers in the second column
increases over a long period of time you have a leak. 

/Mikael

-----Original Message-----
From: owner-dev-etrax@xxxxxxx.com]On">mailto:owner-dev-etrax@xxxxxxx.com]On
Behalf Of Szabo, Tamas
Sent: Thursday, November 28, 2002 11:45 AM
To: dev-etrax
Subject: checking available memory 


Hi,

Can anybody suggest C function(s) by which I can check the available memory
in kernel space? I think there is a memory leakage in my driver.

Thx,
Sza2.

Problems with Windows - Reboot.
Problems with Linux       - Be root.




**********************************************************************************************
The information contained in this message or any of its attachments may be confidential and is intended for the exclusive use of the addressee(s). Any disclosure, reproduction, distribution or other dissemination or use of this communication is strictly prohibited without the express permission of the sender. The views expressed in this email are those of the individual and not necessarily those of Sony or Sony affiliated companies. Sony email is for business use only. 

This email and any response may be monitored by Sony United Kingdom Limited.
(05)
**********************************************************************************************