RE: kernel memory leak?

From: Dow, Benjamin (bdow@itouchcom.com)
Date: Thu Oct 10 2002 - 13:09:58 EST


> >
> > /proc/slabinfo reports that buffer_head increases by 4k, but
> > those are the only changes)
> >
> 4k or one object? the first column ist the number of objects, not 4k.
>

My mistake; I didn't understand slabinfo very well at the time... and
(embarassingly enough) that was related to my piping the output to a file
(in order to do a diff later) rather than a regularly-occurring phenomenon.

As for my memory leak problem, I did finally track it down to the
kernel-preemption patch... my best guess is that it interacts poorly with
some of our platform-specific modifications... though what I can't figure
out is why even with preemption disabled (in menuconfig), I still have the
problem. I'm looking through the patch again to try to find additions that
aren't #ifdef'd out when it's disabled, but I have a feeling that since I've
found a way to fix the problem, I'll be moving on to other things soon.
<sigh>

Anyway, thanks to everyone who offered advice, and if any kernel preemption
experts want to set me straight, feel free!

Ben

(oh, and I apologize for the signature that the mail server apparently just
started appending to my messages... I can't do anything about it)
(how about that, a disclaimer for a disclaimer?)

 The information contained in this electronic mail is privileged and
confidential, intended only for the use of the individual or entity named
above. If the reader of this message is not the intended recipient, you are
hereby notified that any dissemination, distribution, copying or other use
of this communication is strictly prohibited.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue Oct 15 2002 - 22:00:37 EST