Re: [PATCH 00/10] Kernel memory leak detector 0.8
From: Michal Piotrowski
Date: Wed Jul 12 2006 - 18:54:08 EST
On 12/07/06, Catalin Marinas <catalin.marinas@xxxxxxxxx> wrote:
On 12/07/06, Michal Piotrowski <michal.k.k.piotrowski@xxxxxxxxx> wrote:
> BTW I have _very_ annoying soft lockup. Can you fix that?
>
> Jul 12 13:15:47 ltg01-fedora kernel: printk: 1527 messages suppressed.
> Jul 12 13:15:47 ltg01-fedora kernel: ipt_hook: happy cracking.
> Jul 12 13:15:56 ltg01-fedora kernel: printk: 1631 messages suppressed.
> Jul 12 13:15:56 ltg01-fedora kernel: Neighbour table overflow.
>
> I don't know why, but clock goes mad.
>
> Jul 12 14:08:21 ltg01-fedora kernel: BUG: soft lockup detected on CPU#0!
Maybe the soft lockup report is cause by the clock change (it doesn't
show any kmemleak functions in the backtrace).
I can't reproduce this on clean 2.6.18-rc1.
You could change
SCAN_BLOCK_SIZE in memleak.c to a smaller value as the scanning is
done with the interrupt disabled.
I have tried
#define SCAN_BLOCK_SIZE 2048
and
#define SCAN_BLOCK_SIZE 1024
Unfortunately it doesn't change anything.
I'll try tomorrow on my platforms with the soft lockup enabled.
Please try something like this
on tty1
isic -s rand -d your ip (http://www.packetfactory.net/Projects/ISIC/)
on tty2
kml_collector (http://www.stardust.webpages.pl/files/o_bugs/kml/ml/kml_collector.sh)
(I have tried to read random files from /sys on vanilla kernel, but I
can't reproduce that lockup)
--
Catalin
Regards,
Michal
--
Michal K. K. Piotrowski
LTG - Linux Testers Group
(http://www.stardust.webpages.pl/ltg/wiki/)
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/