[ENBD] 2.5.46 update

Peter T. Breuer enbd@lists.community.tummy.com
Thu, 14 Nov 2002 18:02:42 +0100 (MET)


"A month of sundays ago Tad Kollar wrote:"
> Looks like a memory leak? Maybe? Not sure how to debug this...
> 
>  >lsmod
> Module                  Size  Used by    Not tainted
> enbd                  1161282876

I think you had 12K requests of 1 block each, in each of 6 devices.
That's 70K requests, 4K each, that's 280MB. OK, there's no way one can
lose more than one's seen, so this is something else. Maybe the driver
is just "too big"?

Can you observe the growth with time or requests of this figure?

I can take out the statics in the driver and put them under kmalloc
control.  I have a patch for that.  I did it to the 2.4 driver and it
cut the apparent size in half (from 100K+ to 50K).

Peter